Genesis 6:12

And God looked upon the earth and saw that it was corrupt; for all living creatures on the earth had corrupted their ways.

Note Literally all flesh; similarly in verses 13, 17, and 19

BSB · Berean Standard Bible
And God looked upon the earth, and, behold, it was corrupt; for all flesh had corrupted his way upon the earth.
KJV · King James Version
God saw the earth, and saw that it was corrupt, for all flesh had corrupted their way on the earth.
WEB · World English Bible
And God saw the earth, and, behold, it was corrupt; for all flesh had corrupted their way upon the earth.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

God
Genesis 6:8; Genesis 18:21; Job 33:27; Psalm 14:2; Psalm 33:13, 14; Psalm 53:2, 3; Proverbs 15:3
for all
Genesis 6:4, 5; Genesis 7:1, 21; Genesis 9:12, 16, 17; Job 22:15–17; Luke 3:6; 1 Peter 3:19, 20; 2 Peter 2:5