Following up on yesterday's post, here's another word from Molina on the topic of God's foreknowledge and human freedom:
Molina was a sixteenth century Jesuit (=Roman Catholic) theologian. A lot of Jesuits in the sixteenth century were reacting against the Reformation.
Here he says our freedom enables us to avoid sin and attain salvation, with God's help. Taking seriously our absolute need for God's help as a supplement to our freedom is important for those of us who have been shaped by the Reformation (and, to be fair, for all Catholics and Eastern Orthodox too). We have this help, so the rest of the statement holds basically as is. But we do need this help; without it we are quite literally helpless.
Most of the time we call this help grace.