When we are united to Christ a mysterious exchange takes place: He took our curse, so that we may receive His blessing; He became sin with our sin, so that we may become righteous with His righteousness... On the one hand, God declined to 'impute' our sins to us, or 'count' them against us, with the implication that He imputed them to Christ instead. On the other, God has imputed Christ's righteousness to us... We ourselves have done nothing of what is imputed to us, nor Christ anything of what is imputed to Him... He voluntarily accepted liability for our sins.
John Stott