Genesis 6:5-8
5 The Lord saw that humanity had become thoroughly evil on the earth and that every idea their minds thought up was always completely evil. 6 The Lord regretted making human beings on the earth, and he was heartbroken.7 So the Lord said, “I will wipe off of the land the human race that I’ve created: from human beings to livestock to the crawling things to the birds in the skies, because I regret I ever made them.” 8 But as for Noah, the Lordapproved of him.