He controls that ability and may choose not to foreknow everything.
Why would he do that, to make it more exciting for Himself? Like shutting off the headlights briefly while driving at night?
This is a new one for me, in all my discussions with religious folks I've never heard anyone say God's omniscience has an on/off switch.
I do not believe God has a plan for each person or that he decides in advance what becomes of each one of us.
If God
knows in advance what will happen to each of us, he wouldn't have to decide. Omniscience means he God knows everything...unless he's shutting off his omniscience voluntarily as you say. Still, all he has to do is peek and he
would know. He could, at any time, have knowledge of anything that was going to happen to me, even if he doesn't always so it.
Let's say I develop cancer:
1. God already knows if I will die from that cancer, or if the cancer will go away on it's own. Unless as you postulate, that God has temporarily shut off his omniscience. Still, if God chose to he could turn on his omniscience and see if I would live or die. This means I'm either going to live, or die, and God can know if he wants before it happens.
2. Let's say God sees...or
would see if he turned on his omniscience...that I was going to live. Now I pray, obviously, to live. God doesn't have to answer my prayer because I'm already going to live. In this case the prayer doesn't do anything because I was already going to live regardless of the prayer.
3. Now lets say God sees...or would see if he decided to peek...that I was going to die from the cancer. I'm praying to live still of course. God has already seen...or could have seen...that I would die from this cancer.
3a. If he lets me die, he didn't answer my prayer. The second case of the prayer not doing anything.
3b. Here's the real kicker. The only way the prayer works is if I was destined to die, but God tinkers with fate and now I'm going to live. Praise the LORD! BUT what this means is God's original vision...when he saw, or could have seen, that I was going to die, was wrong. I was never going to die, I was going to live because God was going to cure me, and he must have known (or could have known) that he was going to end up healing me and thus I was never in danger of dying in the first place.
There is no way around it, God is either not omniscient, or answering prayers is logically impossible.