Genesis 6:5-7

5 And GOD saw that the wickedness of man [was] great in the earth and [that] every imagination of the thoughts of his heart [was] only evil continually.

6 And the LORD repented of having made man on the earth, and it grieved him at his heart.

7 And the LORD said, I will destroy man whom I have created from the face of the earth, both man and beast and the animals and the fowls of the air; for I repent of having made them.