Our righteousness is in Christ as He is the only one who lived a sinless life and His righteousness is imputed to believers.
According to 1 Corinthians 1:30, Christ is made unto us righteousness, indicating that our standing before God is based solely on Him. None of us can claim righteousness on our own, as Paul teaches that there is none righteous, no not one (Romans 3:10). The life and righteousness of Christ are credited to us (imputed) when we are united with Him by faith. Thus, believers trust not in their works but in the perfect righteousness of Christ given to them, securing their position before the holy God.
Commentary