Genesis 6:5-6

5 The LORD saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of the human heart was only evil all the time.
6 The LORD regretted that he had made human beings on the earth, and his heart was deeply troubled.