Genesis 6:5-6 (NKJV)

5 "Then the LORD saw that the wickedness of man was great in the earth, and that every intent of the thoughts of his heart was only evil continually."
6 "And the LORD was sorry that He had made man on the earth, and He was grieved in His heart. "