"Everyone upon it [the earth] shall perish" (kullu man 'alayha) means: upon the earth.
﴿كل من عَلَيْهَا﴾ يَعْنِي: على الأَرْض