Genesis 6:5-7

5 Then ADONAI saw that the wickedness of humankind was great on the earth, and that every inclination of the thoughts of their heart was only evil all the time.

6 So ADONAI regretted that He made humankind on the earth, and His heart was deeply pained.

7 So ADONAI said, “I will wipe out humankind, whom I have created, from the face of the ground, from humankind to livestock, crawling things and the flying creatures of the sky, because I regret that I made them.”