2 Corinthians
King James Version (KJV)

“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.”
King James Version (KJV)
5:21 He made him a sin offering, who knew no sin - A commendation peculiar to Christ. For us - Who knew no righteousness, who were inwardly and outwardly nothing but sin; who must have been consumed by the divine justice, had not this atonement been made for our sins. That we might be made the righteousness of God through him - Might through him be invested wi th that righteousness, first imputed to us, then implanted in us, which is in every sense the righteousness of God.
2Co 5:21 Hath made him [to be] sin for us, who knew no sin. As a sinless substitute he suffered for our sins, that we might be made the righteousness of God in him. That our sins might thus be atoned for, the law satisfied, and we be forgiven and accounted righteous. Since we die with Christ, in him we pay the penalty, and are justified.