I know without shadow of doubt that my own personal sins drove the nails into Christ's feet and pushed the spear into His side. Without His redemptive work, my fate is hell.
My only point is that I, and every other sinner is GUILTY! To say we are not guilty because God knew what we were going to do is simply wrong.
This is an knotty philosophical issue. All I can suggest is that in the Lord’s creation, issues of causation are not necessarily tied down to the time line that we know in this mortal coil. When we humans think of the scene, we virtually always tend to think in terms of “keep one factor constant but vary the rest.” One result of this kind of assumption is the classic tussle between Calvinism and Arminianism depending on what the invariant factor is held to be. However an omnipotent Lord has the capability of varying EVERYTHING without skipping a beat, to get a glorious integrated whole.