There are 33 Verses in the New Testament that tell us WE ARE RIGHTEOUS, that we have righteousness.
There are 13 verses in the New Testament that tell us to behave righteously. With five of those reminding us that we are already righteous.
"God gives us righteousness regardless of our works. We are blessed! The Lord will never charge us with sin!" (from Romans 4:6-8)
We pursue righteous deeds because our spirits produce the fruit of love. We do not do righteous things to become righteous or to "get right with God." We are already & irrevocably both! We are new creations. We are born of the Holy Spirit. As Hebrews 12:23 says, "We are the Spirits of righteous people made perfect!"