One of the verses presented by those who do not believe the bible is written in Genesis 6:6 since if God were all-knowing, why did He do something which He will be sorry for?
“And it repented the LORD that He had made man on the earth, and it grieved Him at His heart.”(Genesis 6:6, JPS Tanakh 1917)
Well, let us look at the original text if God really repented.
Nacham is the perfect. Vayinachem is the imperfect, and the final vowel in MT is seghol, short e.
In reference to God the hebrew word “NACHAM” has not the idea of sin but the sense of “to be sorry” and by consequence “change of mind”.
“When God saw what they did, how they turned from their evil ways, God changed his mind about the calamity that he had said he would bring upon them; and he did not do it.”(Jonah 3:10, NRSV)