Thanks for clarifying that your case or focus is on God's omniscience, which prompts me to say the following:
God’s omnipotence is equivalent to His omniscience. Jeremiah wrote that “God made the earth by his power; he founded the world by his wisdom.” (JR 10:12) Many NT passages refer to God as the source of true wisdom (e.g., ACTS 6:3, 1CR 1:25, CL 2:2-3, JM 1:5). God’s infinitely superior knowledge is extolled in Romans 11:33-34 (echoing IS 40:13-14) and Daniel 2:20-23.
Omniscience includes knowledge of people’s thoughts (PS 94:11, MT 12:25) and the foreknowledge of events (ACTS 2:23, RM 8:29, 11:2, 1PT 1:2). Some people think that God even knows what a person will be/do before that person exists (JR 1:5). If this view is correct, it must be maintained that God’s foreknowledge does not predetermine a person’s spiritual choice regarding the satisfaction of God’s requirement for salvation or else human moral responsibility would be abrogated and God would be to blame for sin.
I find it simpler and more in keeping with God's all-lovingness and righteousness to think that God merely tweaks the river of history occasionally to keep if flowing in the direction He intends but allows the fish to swim in the eddies as they wish.