Summary: Man’s sin and it dreadful consequence did not catch God by surprise. When God created Adam, He knew that Adam would sin and that to redeem mankind would necessitate the death of His own dear Son.
OUR REDEMPTION…NO AFTERTHOUGHT WITH GOD
"Blessed be the God and Father of our Lord Jesus Christ, who has blessed us with every spiritual blessing in the heavenly places in Christ, just as He chose us in Him before the foundation of the world, that we would be holy and blameless before Him. In love He predestined us to adoption as sons through Jesus Christ to Himself, according to the kind intention of His will, to the praise of the glory of His grace, which He freely bestowed on us in the Beloved.
In Him we have redemption through His blood, the forgiveness of our trespasses, according to the riches of His grace which He lavished on us. In all wisdom and insight He made known to us the mystery of His will, according to His kind intention which He purposed in Him with a view to an administration suitable to the fullness of the times, that is, the summing up of all things in Christ, things in the heavens and things on the earth.
In Him also we have obtained an inheritance, having been predestined according to His purpose who works all things after the counsel of His will, to the end that we who were the first to hope in Christ would be to the praise of His glory.
In Him, you also, after listening to the message of truth, the gospel of your salvation--having also believed, you were sealed in Him with the Holy Spirit of promise, who is given as a pledge of our inheritance, with a view to the redemption of God’s own possession, to the praise of His glory." Ephesians 1: 3-14.
Man’s sin and its dreadful consequences did not catch God by surprise. Long before God created man, He knew that Adam would sin and that Adam’s sin would result in the total depravity of man. God also knew that the only way He could redeem man back to Himself was by the atoning death of His own dear Son.
But His love for man was so great “that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life.”
The Apostle John further emphasized this truth when he referred to our Lord as “the lamb slain from the foundation of the world” (Revelation 13:8 ).
Peter made this quite clear, writing: “Forasmuch as you know that you were not redeemed with corruptible things as silver and gold…but with the precious blood of Christ, as of a lamb without blemish and without spot; who verily was foreordained before the foundation of the world.” I Peter 1:18-20
COULD GOD HAVE PREVENTED ADAM’S SIN?
Obviously He could since “all things are possible with God”. But to do so would have required that Adam not be made in the image and likeness of God with the freedom to act on his own volition.
This would mean that Adam could not have been created with free choice, would not have been a rational and intelligent creation capable of making his own decisions. Adam would have been an unthinking flesh and blood “robot” whose existence would be marked only by instinctive behavior.
KNOWING THIS, THEN WHY DID GOD CREATE MAN IN THE FIRST PLACE?
Not because He did not love His Son completely!