וַיִּגְוַע כָּל־בָּשָׂר הָרֹמֵשׂ עַל־הָאָרֶץ בָּעוֹף וּבַבְּהֵמָה וּבַחַיָּה וּבְכָל־הַשֶּׁרֶץ הַשֹּׁרֵץ עַל־הָאָרֶץ וְכֹל הָאָדָם. כֹּל אֲשֶׁר נִשְׁמַת־רוּחַ חַיִּים בְּאַפָּיו מִכֹּל אֲשֶׁר בֶּחָרָבָה מֵתוּ. וַיִּמַח אֶת־כָּל־הַיְקוּם אֲשֶׁר עַל־פְּנֵי הָאֲדָמָה מֵאָדָם עַד־בְּהֵמָה עַד־רֶמֶשׂ וְעַד־עוֹף הַשָּׁמָיִם וַיִּמָּחוּ מִן־הָאָרֶץ וַיִּשָּׁאֶר אַךְ־נֹחַ וַאֲשֶׁר אִתּוֹ בַּתֵּבָה.
And all flesh that stirred on earth perished — birds, cattle, beasts, and all the things that swarmed upon the earth, and all humankind. All in whose nostrils was the merest breath of life, all that was on dry land, died. All existence on earth was blotted out — humans, cattle, creeping things, and birds of the sky; they were blotted out from the earth. Only Noah was left, and those with him in the ark.
The Flood decree is worded with surgical precision: verse 21 lists what dies — birds, cattle, beasts, creeping things, man — and verse 22 narrows it further: only creatures with 'the breath of life in their nostrils' that were 'on dry land.' Fish, breathing through gills in the sea, are simply not in the verse.