Those who support the doctrine of exhaustive foreknowledge will often cite the same hand full of proof-texts.
Isaiah 46:21-2
Present your case,” says the Lord.
“Bring forth your strong reasons,” says the King of Jacob. “Let them bring forth and show us what will happen; Let them show the former things, what they were, that we may consider them, And know the latter end of them; Or declare to us things to come. Show the things that are to come hereafter, That we may know that you are gods.
Isaiah 46:10
Declaring the end from the beginning,
And from ancient times things that are not yet done, Saying, ‘My counsel shall stand, And I will do all My pleasure.
1 John 3:20
For if our heart condemns us, God is greater than our heart, and knows all things.
I take them to mean just exactly what they say, and have no problem with them saying it. But there are also numerous examples of God not getting what He wants, not getting what He tried to get, not getting what He expected to get.
Jeremiah 19:5
They have also built the high places of Baal, to burn their sons with fire for burnt offerings to Baal, which I did not command or speak, nor did it come into My mind.
Isaiah 5:1-7
Now let me sing to my Well-beloved
A song of my Beloved regarding His vineyard:
My Well-beloved has a vineyard
On a very fruitful hill.
He dug it up and cleared out its stones,
And planted it with the choicest vine.
He built a tower in its midst,
And also made a winepress in it;
So He expected it to bring forth goodgrapes,
But it brought forth wild grapes.
“And now, O inhabitants of Jerusalem and men of Judah,
Judge, please, between Me and My vineyard.
What more could have been done to My vineyard
That I have not done in it?
Why then, when I expected it to bring forth good grapes,
Did it bring forth wild grapes?
And now, please let Me tell you what I will do to My vineyard:
I will take away its hedge, and it shall be burned;
And break down its wall, and it shall be trampled down.
I will lay it waste;
It shall not be pruned or dug,
But there shall come up briers and thorns.
I will also command the clouds
That they rain no rain on it.”
For the vineyard of the Lord of hosts is the house of Israel,
And the men of Judah are His pleasant plant.
He looked for justice, but behold, oppression;
For righteousness, but behold, a cry for help.
And these are by no means the only passages in the bible that is incompatible with the idea that God knows everything that will ever happen. Indeed, there are passages that aren't even compatible with the idea that God knows everything that has already happened.
Genesis 18:20-21
And the Lord said, “Because the outcry against Sodom and Gomorrah is great, and because their sin is very grave, I will go down now and see whether they have done altogether according to the outcry against it that has come to Me; and if not, I will know.”
Note that the above is God Himself speaking about what He is going to do and why He's going to do it. If you want to convert that overt statement of God's into some sort of figure of speech, where it effectively means the opposite of what it says, then you need to ask yourself why is doing so valid. Then, whenever you get an answer to that question, ask yourself why the same reason wouldn't apply to any passage at all. If a passage doesn't mean what it says then why does any passage mean what it says?
In short, scripture means what it says and God using His wisdom and power to both predicting the future and to guide the unfolding of history is not at all in conflict.