When the Bible says there is no one who is righteous, I understand this means no one is righteous who has not trusted in Jesus.
But when a sinner turns to God and trusts in Christ (Ephesians 1:12), first the person is "declared" righteous, by the fact that the person has joined Jesus and therefore shares in Jesus Christ's "track record", instead of being in Satan's kingdom > Acts 26:18. So, at first there is the "imputed" righteousness, simply meaning that by being with Jesus we have become right by joining with Jesus.
"But he who is joined to the Lord is one spirit with Him." (1 Corinthians 6:17)
So, we have not only joined a cause or a "gang". But it is like how if you join a Super Bowl Champion team: just by being accepted by the team, already you have the reputation of that team. However, now you will need to do some things to become a contributing member of the team while also becoming able to relate well with the members and coaches.
Like this, now that we have become joined to Jesus, not only are we in a group, but each of us is "one spirit with Him" in us. And Jesus in our hearts effects us, in our union spiritual with Him. He changes us to become righteous like He is righteous. This change of our character is not just an imputed declaration - - a change of status . . . but He in us transforms us to become like Him. We become righteous, meaning we become the right way . . . the way that God's love is right >
"Love has been perfected among us in this: that we may have boldness in the day of judgment; because as He is, so are we in this world." (1 John 4:17)
And, included in this process is how we need to actively seek our Father for His correction, as Hebrews 12:6-11 says. His correction cures our nature so we "become partakers of His holiness", and His correction produces "the peaceable fruit of righteousness" in us.
So, this is not what we do, ourselves, but God in us effects us with His grace almighty which transforms us to become like Him in His love . . . "in this world" (in 1 John 4:17).
So, we trust You, LORD our Father, to do all You mean by Your word > Isaiah 55:11 < all Your word guarantees You succeed at doing with Your children - - - how Your love in us has us becoming loving with one another and in reaching to any and all people who do not know You.
"with all lowliness and gentleness, with longsuffering, bearing with one another in love," (Ephesians 4:2)
Jesus in us is "gentle and lowly in heart", He says in Matthew 11:28-30. So, "all lowliness and gentleness" means how Jesus in us makes us gentle and lowly in our loving. Jesus in us is the definition of righteousness, of how to be loving in the right way; and in us He shares this with us (Galatians 4:19).
Jesus on Calvary was "a sweet-smelling aroma" > and we are commanded to live the way Jesus makes us also sweetly pleasing to our Father >
"And walk in love, as Christ also has loved us and given Himself for us, an offering and a sacrifice to God for a sweet-smelling aroma." (Ephesians 5:2)
So, the righteousness of Jesus in us makes us also sweet-smelling . . . sweetly pleasing to our Father in "the fragrance of Christ" (2 Corinthians 2:15). God smells how we really are, and Jesus in us makes us right, like this. So, we trust You, LORD, to do this with us, more and more, so You make Yourself at home in us and can enjoy Yourself in us while You are dealing with all the stuff that is going on in this evil world around us.