Does God know the future ... generally speaking, yes. Specifically speaking? no.
For example, did he know that the Isaelites would build a Golden Calf? No, I think he was disappointed; this resulted in his giving the 10 Commandments.
Were the Israelites wandering in the desert for 40 yrs in the origional plan? Probably not.
Can God be wrong? There is no way a mortal man can know this. If God made a mistake, we would have to know the possible options he had, and what the possible consequences would be. There is no way to know. We do know that God is willing to consider changing his mind - Did Lot not negotiate the survival of Sodom with God? God went from absolute certainty of destroying Sodom, to sparing Sodom if Lot could find a certain number of faithful. Naturally, Lot failed - did God know that Lot would fail? Possibly.
Again, in the eternal perspective, our lives are literally NOTHING. From the universal point of view, earth is nothing - which makes us even more insignificant. Look at a phone book - now multiply that by every city in the world - now multiply that by the severity of your problems in perspective of other people’s problems.
What matters, is how we deal with our problems, do we blame God, do we accept responsibility, are we Good, do we help the less fortunate, are we merciful, are we generous with our gifts, do we follow the teachings given to us?
No matter what we do, what we accomplish, what monuments to ourselves we build - they are nothing compared to the sands of eternity. So, live a long full, happy life - or die in a slow, painful, horrible fashion after Dinner. It matters not a whit to God - it’s how we spent the time we were alotted that really matters.
If mortal man cannot know if God can be wrong or not, then how can mortal man know that God is willing to change His mind, or whether God knows the future generally but not specifically? I thought God knew the exact time of our deaths?