Righteousness as in Romans 4:5
From my understanding of this verse, I believe that we are made right not by our works or being righteous each day, but through the Grace of God and the sacrificial of Jesus dying on the cross for us all, that makes us righteous.
Do not allow our wrongdoing bring us down. Whenever we feel lousy, God wants us to exercise our faith to see for ourselves. Whatever happens, it is not because we are not morally upright. We are made righteous through the eyes of God and let us stay that way...
(My thoughts, my views)