Jn 8:5-11, Isa 53:11-12, Rom 5:8, Jn 1:29, 2 Cor 5:21, 1 Cor 15:3

The Old Testament says that the adulterer is to be put to death. (Lev 10:10)

Lev 20:10 And the man that committeth adultery with another man's wife, even he that committeth adultery with his neighbour's wife, the adulterer and the adulteress shall surely be put to death.

In the Old Testament it was prophesied that Christ would forsake his body and die to forgive our sins and justify us. (Isa 53:11-12)

Isa 53:11 He shall see of the travail of his soul, and shall be satisfied: by his knowledge shall my righteous servant justify many; for he shall bear their iniquities. 12 Therefore will I divide him a portion with the great, and he shall divide the spoil with the strong; because he hath poured out his soul unto death: and he was numbered with the transgressors; and he bare the sin of many, and made intercession for the transgressors.

Jesus forgave the woman who committed adultery. (John 8:5-11)

John 8:5 Now Moses in the law commanded us, that such should be stoned: but what sayest thou? 6 This they said, tempting him, that they might have to accuse him. But Jesus stooped down, and with his finger wrote on the ground, as though he heard them not. 7 So when they continued asking him, he lifted up himself, and said unto them, He that is without sin among you, let him first cast a stone at her. 8 And again he stooped down, and wrote on the ground. 9 And they which heard it, being convicted by their own conscience, went out one by one, beginning at the eldest, even unto the last: and Jesus was left alone, and the woman standing in the midst. 10 When Jesus had lifted up himself, and saw none but the woman, he said unto her, Woman, where are those thine accusers? hath no man condemned thee? 11 She said, No man, Lord. And Jesus said unto her, Neither do I condemn thee: go, and sin no more.

Jesus took our sins and died on the cross to save us. (John 1:29, 2 Corinthians 5:21, 1 Corinthians 15:3)

John 1:29 The next day John seeth Jesus coming unto him, and saith, Behold the Lamb of God, which taketh away the sin of the world.

2 Corinthians 5:21 For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.

1 Corinthians 15:3 For I delivered unto you first of all that which I also received, how that Christ died for our sins according to the scriptures;

God loves us so much that He gave Jesus Christ to die for us. (Romans 5:8)

Romans 5:8 But God commendeth his love toward us, in that, while we were yet sinners, Christ died for us.