Just because God can know everything doesn't mean he can't use this ability in discreet measures. And why would he do that? Because he gave all his sentient creation free will which would be meaningless if he chose to know everything we would do before we did it. "Now Jehovah is the Spirit, and where the spirit of Jehovah is, there is freedom." - 2 Corinthians 3:17"You were called to freedom." - Galatians 5:13"I take the heavens and the earth as witnesses against you today that I have put life and death before you, the blessing and the curse; and you must choose life so that you may live, you and your descendants, by loving Jehovah your God, by listening to his voice, and by sticking to him." - Deuteronomy 30:19, 20Now, if God chooses to know beforehand each and every action we'll take then how exactly are we free? How are we free to choose between life and death, the blessing and the curse?