1 Corinthians 15:3 English Standard Version (ESV) For I delivered to you as of first importance what I also received: that Christ died for our sins in accordance with the Scriptures,
The death of Christ was foretold in scriptures. It was not meant to be a secret. It was foretold that we might fully understand the gospel message. If we cannot understand why Jesus had to die, then His death becomes meaningless.
Genesis 22:8a English Standard Version (ESV) Abraham said, “God will provide for himself the lamb for a burnt offering, my son.”
John 1:29 English Standard Version (ESV) The next day he saw Jesus coming toward him, and said, “Behold, the Lamb of God, who takes away the sin of the world!”
Why did Jesus have to die? A proper understanding of the gospel message requires that we understand why Jesus had to die.
2 Corinthians 5:21 English Standard Version (ESV) For our sake he made him to be sin who knew no sin, so that in him we might become the righteousness of God.
If we study the righteousness of God we will discover that it means a right standing before God. No sin can stand in the presence of God. In order for us to have the presence of God, sin must be dealt with. The atoning death in the Old Testament was a forerunner of the coming sacrifice of Christ to atone for sin. This is why John the Baptist declared that this Jesus who came to be baptized was in fact, the Lamb of God, chosen by God, provided by God, to be our atoning sacrifice.
It is the judicial characteristic of God that needs to be satisfied. Our presence before Him has to be justified. Justification is a book keeping term where we are taken out of the red and placed in the black. Our debt is paid by the atoning sacrifice of the Lamb of God.
If we declare we owe God nothing, we will not accept that His death was necessary for our salvation.