I have to disagree. God does not tempt nor did he intend to set man up to fail!(However the Bible does say God makes the evil and the good(Isaiah 45:7). That is what you are saying. God lives across time and even as he created life and had to deal with Satan’s rebellion, he was already acting to provide a savior to restore those who would worship him in spirit and in truth. We have free will but live in a temporal bubble where time passes and matter eventually will decay until God remakes it.
He’s already remade it...he’s been there and gone already!! What is going on now is the “mop up action”. God seeks a people who will worship God in Spirit and in truth. THAT WAS ALWAYS HIS INTENT! He has created “sons of God and it doesn’t yet appear what we shall be but we know that when he shall appear, we will be like HIM for we shall see him as he is!{1 JOhn 3:2) That is what he intended for us from the beginning and no power of Satan will keep God from bringing that about. The heel was bruised...but now watch the heel crush the head of the serpent!!
Satan should not have bothered to mess with us, for the Word made flesh entered our universe to fight Satan on his ground and it was so much more worse for Satan as a result! The Living Word made flesh...how the devils must have screamed in rage! They never saw it coming, the crucifiction(check)...and to have the Word made flesh rise from the grave(mate!)...a multimegaton spiritual detonation!
Satan still plots....but alas for him and wonderful for the saved..The Word made Flesh is coming again, this time to crush the head of the Serpent for good!
Just a little word of encouragement: “when he shall appear, we will be like HIM for we shall see him as he is!” Since it takes a four dimensional being to see a four dimensional being, imagine what dimensional being it will take to see a six or eight or ten dimensional being! When Jesus told Philip that all he could see of The Father was what he could see in Him, for He is in the Father and The Father is in Him. Philip was a 4D being, so that was the limit of what he could see of The One there before him.