Genesis 6:6-8

6 The LORD was sorry that he had made man on the earth, and it grieved him in his heart.

7 The LORD said, “I will destroy man whom I have created from the surface of the ground — man, along with animals, creeping things, and birds of the sky — for I am sorry that I have made them.”

8 But Noah found favour in the LORD’s eyes.