Notice that Paul associates a "righteous person" in accordance with his behavior. Today often there is a misconception on this point in the Christian community, where a person being righteous is only regarded with respect to his judicial standing before God. But the Bible teaches that there is also a connection to the person's behavior.
Notice for example in 1Cor 6:9-11a "Do you not know that the unrighteous will not inherit the kingdom of God? Do not be deceived. Neither fornicators, nor idolaters, nor adulterers, nor homosexuals, nor sodomites, nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners will inherit the kingdom of God. And such were some of you." Notice again Paul associates the concept of righteous or unrighteous with one's behavior. Some among the Corinthians Christians fell into these categories prior to their being saved. But after becoming righteous they no longer behaved that way. True that "to him who does not work but believes on Him who justifies the ungodly, his faith is accounted for righteousness" Rom 4:5, but they don't continue to live ungodliness after that point.
Therefore let us recognize that when we Christians speak about ourselves and other Christians as being righteous, we are making a statement not just with respect to such a person's judicial standing before God, but also we are making a claim concerning such a person's behavior. Do you live up to such a claim?