What does it mean to have righteousness imputed to us?
Answered in 2 sources
Having righteousness imputed means that God counts believers as entirely righteous based on Christ's perfect obedience (2 Corinthians 5:21).
Imputation of righteousness is a critical aspect of the gospel. In 2 Corinthians 5:21, it states that Christ was made sin for us so that we might become the righteousness of God in Him. This means that when we believe in Christ, our sins are placed upon Him, and His righteousness is credited to us, making us right before God. It is not merely a legal declaration but a transformational reality wherein believers are fundamentally changed and regarded as righteous. This assurance is what gives believers confidence and peace in their standing with God.
Commentary