Righteous is different from good.
Righteous is a man of virtues
While good man is inspired.
Righteous is a man who live by the rules implemented by religion
While good man lives by his own conscience.
A Righteous man lives by his reputation
While a good man lives by his own integrity.
And there's a big difference between reputation and integrity.
Reputation is an opinion
While integrity is what you are.
So never define a man's heart by his acts of righteousness (he might just doing it for his reputation).
A man's heart is defined by his good means.