I've heard a lot of "skeptics" (Romans 1:20) say that, if God knows what we are doing to do before we actually do it, then we do not have any free will. What I'm going to do is point out the flaw in that argument. So, God created time, so logically he is not under the laws of time (Although he can put himself under them if he wants to: See John 1:1 and John 1:14). Seeing how he is not under the laws of time: He is at all places, at all time periods. That's part of being everywhere! This means, that in essence, the history of all eternity is a history book that God can read. It's not predetermination, he knows what will happen because he is already there when it is happening, before we are.