Sigh....really very simple.......if God is not omniscient and omnipotent then he is not God. You make Him out to be a flawed fallible being.
Conversely, if God is omniscient and omnipotent, then we have no free will. There is no other philosophical position that is not a paradox. (Though there's several threads here where people have tried to take this paradoxical position.)
Benson Commentary Gen 6:6
(I like posting stuff like this as it expresses responses better than I can
Genesis 6:6. It repented the Lord, it grieved him at his heart — Properly speaking, God cannot repent,
Numbers 23:19,
1 Samuel 15:11-29; for he is perfectly wise and unchangeable in his nature and counsels,
Malachi 3:6, and
James 1:17. Neither is he liable to grief or disappointment, being constantly happy. But this is spoken of God after the manner of men, by the same figure of speech whereby eyes, ears, hands, and feet are ascribed to God, and must be understood so as not to reflect on his immutability or felicity. It doth not imply any passion or uneasiness in God; for nothing can create disturbance to the eternal mind: but it signifies his just and holy displeasure against sin and sinners. Neither doth it speak any change of God’s mind, for with him is no variableness; but it signifies a change of his way. When God had made man upright, he rested and was refreshed,
Exodus 31:17, and his way toward him was such as showed him to be well pleased with the work of his own hands; but now that man was apostatized, he could not do otherwise than show himself displeased: so that the change was in man, and not in God.
Ellicott's commentary on 1 Sam 15:11
(11) It repenteth me . . . —“God does not feel the pain of remorse (says St. Augustine in Psalms 131), nor is He ever deceived, so as to desire to correct anything in which He has erred. But as a man desires to make a change when he repents, so when God is said in Scripture to repent, we may expect a change from Him. He changed Saul’s kingdom when it is said He repented of making him king.”—Bishop Wordsworth.
All this comes from biblehub.com
Let's pull out a couple of tidbits from this commentary:
Neither is he liable to grief or disappointment, being constantly happy.
Sounds like he is saying that God has no emotions at all, other than being happy all the time. And if you're happy about everything that happens on this planet, then you are a psychopath.
Let's check into God's range of emotions:
Anger
Exodus 4:14, 15:7, Leviticus 11:1, Numbers 25:3, 2 Samuel 24:1, 1 Kings 14:15 ... and many others
Jealousy
Exodus 20:5, Deuteronomy 6:15, Joshua 24:19, Nahum 1:2 ... also many others
Love
Jeremiah 31:3, Hosea 11:1, John 3:16, Romans 1:7
(also compassion and mercy and forgiveness examples abound.)
Sadness
Genesis 6:6, Isaiah 63:10
Happiness is actually one of the most difficult emotions to find related to God. (There's plenty about God wanting mankind in general or particular individuals to be happy.) The closest you come is where it says God was pleased about some particular person or event. 1 Chronicles 28:4, 1 Corinthians 1:21, Galatians 1:15, etc.
God cannot repent, for he is perfectly wise and unchangeable in his nature and counsels
Despite the fact that the text literally says he repented or felt regret, there are other examples of this too.
Exodus 32:10-14 - Here Moses changes God's mood from anger and in verse 14 it says
"Then the Lord relented and did not bring on his people the disaster he had threatened." Literally read, Moses changed God's mind from killing thousands of people. (Who admittedly possibly would have deserved it.)
Also, changes his mind on other occasions 2 Samuel 24:16, Jonah 3:10.
But all these things are good, and are examples of God's mercy.
Jeremiah 18:8, 9 also falls into this category, but one must ask themselves, if God is omniscient then he already knows what people will do, and decrees like this are useless.
So my point is that all of the commentaries on this subject trying to prove omniscience here or omnipotence there mean nothing, because the real truth is, they don't know. They have a preconceived idea they believe and they twist themselves into knots trying to explain away any scripture that contain words that contradict them.
I prefer to follow a God that has not predetermined my life, but allows me to serve him willingly, not wiring my brain, environment, and external experience in such a way that he knows everything I'm going to do, and therefore predestined whatever it is I do happen to do with my life. God may be all-powerful, but if he can't make 2+2=5, it doesn't lessen his power.