Genesis 6:3

6:3 So the Lord said, “My spirit will not remain in humankind indefinitely, since they are mortal. They will remain for 120 more years.”

Genesis 6:6

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