You do not do something you know in advance you are going to regret doing, unless you lack the freedom to stop yourself from doing it.God has free will. Free will is involved when someone regrets something they have done and they repent and the LORD regretted something in Genesis 6;6.
So God must be unable to see the future, or unable to alter course even knowing what the future will bring. That means, lacking free will.
Simply - the God you imagine as being your Biblical, omnipotent, omniscient being who yet can regret actions that he knew in advance we was going to regret etc.....simply does not stack up to any logic.
This does not disprove God, but it certainly disproves any literal rendering of the Bible. By being capable of regret, your Biblical God obviously is one that cannot see into the future.