The First Principle is
Everything which comes to pass has been foreseen by Him, willed by Him or permitted by Him.
Nothing comes to pass either in the material or the spiritual world, that God has not already foreseen. With Him there is no passing from ignorance to knowledge as with us, and He has nothing to learn from events as they occur.
Not only has God foreseen everything that is happening now or will happen in the future, but
Whatever reality and goodness there is in these things He has willed;
And whatever evil or moral disorder is in them, He has merely permitted.
“God is not willing that anyone should perish.” (2 Pet 3:9)
But God has also permitted humans to choose their own way (Deut 30:19-20 [testimony from Bernice]; Isa 53:6; Acts 14:15-16).