Genesis 6:5-6

5 Yahweh 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 Yahweh was sorry that he had made man on the earth, and it grieved him in his heart.