Genesis 6:5-6

6:5 But the Lord saw that the wickedness of humankind had become great on the earth. Every inclination of the thoughts of their minds was only evil all the time. 6:6 The Lord regretted that he had made humankind on the earth, and he was highly offended.

Genesis 6:11-13

6:11 The earth was ruined in the sight of God; the earth was filled with violence. 6:12 God saw the earth, and indeed it was ruined, for all living creatures on the earth were sinful. 6:13 So God said to Noah, “I have decided that all living creatures must die, for the earth is filled with violence because of them. Now I am about to destroy them and the earth.