Again, to me righteous means being perfect just as God is perfect. It is why David tells us:
We can act righteously without actually being righteous. God accepts as if we had already become what we are becoming. However we do not achieve it in this life.
But scripture says:
Eph 4:22-24
Put off your old nature which belongs to your former manner of life and is corrupt through deceitful lusts, and be renewed in the spirit of your minds, and put on the new nature, created after the likeness of God in true righteousness and holiness.
Phil 1:9-11
And it is my prayer that your love may abound more and more, with knowledge and all discernment, so that you may approve what is excellent, and may be pure and blameless for the day of Christ, filled with the fruits of righteousness which come through Jesus Christ, to the glory and praise of God.
2 Tim 4:7-8
I have fought the good fight, I have finished the race, I have kept the faith. Henceforth there is laid up for me the crown of righteousness, which the Lord, the righteous judge, will award to me on that Day, and not only to me but also to all who have loved his appearing.
James 5:16
The prayer of a righteous man has great power in its effects.
1 Peter 3:12
“For the eyes of the Lord are upon the righteous, and his ears are open to their prayer. But the face of the Lord is against those that do evil.”
1 John 3:7
Little children, let no one deceive you. He who does right is righteous, as he is righteous.
Rev 22:11
He that is unjust, let him be unjust still: and he which is filthy, let him be filthy still: and he that is righteous, let him be righteous still: and he that is holy, let him be holy still.