He created us with Free Will so that we would not be as automatons. With our Free Will we (Adam) followed Satan and we’re led to die.
We (Adam) were so remorseful at our mistake we cried out to Him for mercy and forgiveness. He loved us so much that He sent his only begotten Son that if we should believe in Him, we would no longer be lost and would be restored to eternal life not by anything we did, but by what the Son did and by which we are granted forgiveness by grace of the Son.