You're assuming God is merely a cosmic fortune teller, perhaps even perpetually baking fortune cookies in a cosmic oven to keep Him well supplied with knowledge of future events.

But the real truth is that prophecies in scripture come to past solely because of God's will, his plan, his purpose. And many such eternal DECREES are his (
Job 23:14)! Two concrete biblical examples will suffice to demonstrate the truth I just stated:
Ex 3:18-20; 4:21-23
18 "The elders of Israel will listen to you. Then you and the elders are to go to the king of Egypt and say to him, 'The LORD, the God of the Hebrews, has met with us. Let us take a three-day journey into the desert to offer sacrifices to the LORD our God.' 19 But I know that the king of Egypt will not let you go unless a mighty hand compels him. 20 So I will stretch out my hand and strike the Egyptians with all the wonders that I will perform among them. After that, he will let you go...4:21 The LORD said to Moses, "When you return to Egypt, see that you perform before Pharaoh all the wonders I have given you the power to do. But I will harden his heart so that he will not let the people go. 22 Then say to Pharaoh, 'This is what the LORD says: Israel is my firstborn son, 23 and I told you, "Let my son go, so he may worship me." But you refused to let him go; so I will kill your firstborn son.'"
NIV
God knew that Pharaoh would not let the people go because that is what He decreed/purposed/appointed/ordained in eternity for the king. This Pharaoh example expresses the truth of the sovereignty of God taught in
Prov 21:1.
And...
Acts 4:27-28
27 Indeed Herod and Pontius Pilate met together with the Gentiles and the people of Israel in this city to conspire against your holy servant Jesus, whom you anointed. 28
THEY did what YOUR power and will had decided beforehand should happen.
NIV
Notice that the text does not say anything about foreknowledge or that "THEY" acted according to what God saw in his crystal ball.
Give me one text in scripture that explicitly teaches that God works out all things in this world according to the will of his moral creatures.