Where we get the faculty to reconcile to God is indicated by the fact that he gave us the power to live justly and abstain from sins. By doing this we are reconciled to God. Hence he says, for our sake, he made him to be sin who knew no sin. As if to say: you can be reconciled to God, because he, namely, Christ, who knew no sin: "He committed no sin; no guile was found on his lips" (1 Pet. 2:22); "Which of you convicts me of sin?" (Jn. 8:46). For our sake, he made him to be sin. This can be explained in three ways. In one way because it was the custom of the Old Law to call a sacrifice for sin... "sin": "They feed on the sin of my people" (Hos. 4:8), i.e., the offerings for sin. Then the sense is: he made him to be sin, i.e., the victim of sacrifice for sin. In another way, because sin is sometimes taken for the likeness of sin, or the punishment of sin: "God sending his own Son in the likeness of sinful flesh and for sin, he condemned sin in the flesh" (Rom. 8:3). Then the sense is: he made him to be sin, i.e., made him assume mortal and suffering flesh. In a third way, because one thing is said to be this or that, not because it is so, but because man considers it such. Then the sense is: he made him to be sin, i.e., made him regarded a sinner: "He was numbered with the transgressors" (Is. 53:12).
He did this, so that in him we might become the righteousness of God, i.e., justified by God. Or justice, because he not only justified us, but also willed that others be justified by us. The justice, I say, of God, not ours. And in Christ, i.e., through Christ. Or another way, that Christ himself be called justice. Then the sense is this: that we might become the righteousness, i.e., cling to Christ by love and faith, because Christ is justice itself. But he says, of God, to exclude man's justice, by which a man trusts in his own merits: "For, being ignorant of the righteousness that comes from God, and seeking to establish their own, they did not submit to God's righteousness" (Rom. 10:3). In him, namely, in Christ, i.e., by Christ, because he was made justice for us (1 Cor. 1:30).
Source: Commentary on 2 Corinthians