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 So the Lord said, “I will destroy man, whom I have created, from the face of the earth—both man and beast, and the creeping things, and the birds of the sky, for I am sorry that I have made them.”

8 But Noah found grace in the eyes of the Lord.