God the Father, Son, and Holy Spirit, who is the creator and ruler of the universe, made humanity like Himself to magnify his amazing character.
Mankind was originally made morally pure so that we could have a relationship with this morally pure God. However, we all chose to reject God's standard of moral purity to go after our own evil desires, which angered a morally pure God and severed our relationship with Him. Since our minds are completely darkened and corrupted by evil, there is no possible way to have our relationship with God restored based on anything our evil hearts could come up with. Not a prayer, baptism, confession, ritual, or sacrifice could ever satisfy the terrible anger of God towards our evil rebellion. God hates our evil so much that he cursed us to experience pain and die and suffer eternal agony because of it.