God created man because he wanted children like Himself.
Man is a child in school.
The school is life.
Man is to learn in life what God teaches him.
The primary lesson is love.
God (the Father, Son and Holy Spirit) created man in Their image having soul, body and spirit. For man to be like God he had to know the difference between good and evil. The only way a created being could know this is to experience it.
Having experienced evil (sin) man could not enter an eternal (outside time) relationship with God unless he was cleansed of his sin. God paid man’s debt of death for his sin by Himself coming in the flesh to die as the ultimate sacrificial Lamb.
God has known before He created time which vessels of clay were reserved for destruction and which would be saved. But we don’t.
We are to spread the good news that anyone’s sins can be forgiven by believing that Adonai Yeshua Hamashiach (Lord Jesus Christ) was God come in the flesh to pay the price for our sins by dying on the cross and gave us eternal life by rising from the dead.