1 Samuel 15:11

15:11 “I regret that I have made Saul king, for he has turned away from me and has not done what I told him to do.” Samuel became angry and he cried out to the Lord all that night.

Genesis 6:6

6:6 The Lord regretted that he had made humankind on the earth, and he was highly offended.