>>825271
That's a complicated problem. The thing is that God is eternal, He's beyond time, He doesn't give two flying figs about time. It's not that He's now, always was and always will be. He is, simultaneously, in the present, the past and the future. Time is a limitation that we worldly creatures have, but it doesn't affect God. Angels are also beyond time.
So it's not so much that He can see and know the future, but that you see your choices as separated by time.
Another problem is that we usually see God as an engineer, and I think it's often better to think of Him as an artist or an artisan.
Think of a musician composing a tune. He has a clear idea of what he want's to make, and sometimes the notes seem to just fall into place, creating a beautiful melody. Others, the notes never quite fit, are never fully harmonic. We are the notes, choosing to sound in according to God's melody or choosing to be discordant, noticeable, and sound on our own.
Or think of a painter, creating a beautiful painting. Sometimes the brush strokes fuse together, creating a greater shape. Others, some strokes decide to go on their own, not quite taking the position and shape needed of them, making that eye or hand in the painting seem oddly off.
God is not the engineer, He's the Creator, involved in a creative process. If He were to measure everything with a ruler, draw with a compass and a set square on blue paper, then, indeed, there wouldn't be free will. But in His creation there's not just logic and technical prowess, there's also infinite creativity.
The key to free will is probably in understanding God's relationship with His creation, which in turn would require to understand God which is impossible. However we can get a partial understanding of it. Again, it's a complicated problem, and I struggle with it a lot.