we have no free will
or
God is not all knowing
In the dune books, the 'trap' of not knowing the future vs free will is "escaped" by 'not knowing the future too precisely'.
There are some pieces of future we all know. I know I am going to die someday. I know everyone I know is going to die.
What I don' tknow is HOW I am going to die, when, and what happens on the journey to death.