Many of Jesus’ contemporaries refused to accept the Messiah’s shame and curse on the cross, and many in the history of the church have done the same, denying the substitutionary nature of the atonement and the fact that God cursed our sin in Jesus. To show His great mercy and satisfy His justice, the Father condemned the sins of His people in His Son. Any attempt to make the cross merely a good example or an accident of history destroys the gospel of salvation.
For further study:
The Bible in a year: