Genesis 6:6

6And athe Lord regretted that he had made man on the earth, and it bgrieved him to his heart.

Jeremiah 18:10

10and if it does evil in my sight, not listening to my voice, then I will relent of the good that I had intended to do to it.
Copyright information for ESV