2 Corinthians 5:21

Amplified Bible (AMP)
He made Christ who knew no sin to [judicially] be sin on our behalf, so that in Him we would become the righteousness of God [that is, we would be made acceptable to Him and placed in a right relationship with Him by His gracious lovingkindness].

Read 2 Corinthians 5:21 in other translations