Genesis 6:12

And when God had seen that the earth had been corrupted, (indeed, all flesh had corrupted its way upon the earth

Other versions

King James Version

And God looked upon the earth, and, behold, it was corrupt; for all flesh had corrupted his way upon the earth.

English Standard Version

And God saw the earth, and behold, it was corrupt, for all flesh had corrupted their way on the earth.

New International Version

God saw how corrupt the earth had become, for all the people on earth had corrupted their ways.