God did not create sin and evil, but knew that would come to pass into His creation, as from eternity past had the plan of the Cross of Christ ready go into real time once the Fall happened
See, if he knew it would happen as a result of creating, but created anyway, then he intended it. I don't say he created it, but he caused that it be.
And that I can honestly say from at least four different directions:
1. It is not of itself a made thing. It does not, in the same sense as we do, exist.
2. It is necessarily entirely within his sovereign control, and is a result of his sovereign will.
3. In all its evidences, it is used for God's purposes. He does not just
turn its harm into good, but intentionally
uses it for good purposes.
4. There is logically nothing but God that can happen all by itself. Sin is not an accident.
(Maybe a good study of the word, 'foreknow', and derivatives, is in order here. God does not foreknow, without decreeing. The use of the word in the Bible contextually uses the idea of God DOING something.)
For starters, Alexander Cruden, of
Cruden's Concordance, per Duck AI:
Interaction of Foreknowledge and Divine Decree
Cruden understood foreknowledge as inherently connected to God's will and action in the world. He posited that God's omniscience, which includes foreknowledge of all events, implies a divine decreeing that is purposeful and intentional.
Theological Implications
He believed that God's foreknowledge wasn't passive but actively involved in shaping the course of history and individual destinies. This suggests a framework where God's knowledge leads to specific actions and decrees, reflecting a coherent plan for creation.
Essential Consideration
Cruden emphasized that God's foreknowledge affirms His sovereignty. The knowledge of future events, choices, and actions by individuals is intertwined with divine decrees, ensuring that God's plans are ultimately fulfilled.
But, I think you would agree with the above.