Here is a sketch of an argument about divine foreknowledge and human freedom. It works by applying the logic of foreknowledge to God's own actions, shows the absurdity at that level, then applies it to God's foreknowledge of created actions. If we are free, then it is because God freely created us. For if God's knowing what is going to happen causes that thing to happen, then God's knowing what God is going to do forces God to do that thing. But God does know what God is going to do, so that, ex hypothesi, everything that God does would be something that God has to do. God would be a robot, if foreknowledge implied causal necessity. And of course, in such a case, the creation of the universe would be necessitated rather than free, and our action would likewise be necessitated. But given that we are free, it follows that God created us freely AND foreknowledge does not involve coercian.
Commentary and discussion regarding science, faith and culture by Leo White