Genesis 6:6-8

6 And יהוה was sorry that He had made man on the earth, and He was grieved in His heart.

7 And יהוה said, “I am going to wipe off man whom I have created from the face of the ground, both man and beast, creeping creature and birds of the heavens, for I am sorry that I have made them.”

8 But Noaḥ found favour in the eyes of יהוה.