In the psalms we will often find that they contrast the righteous and the wicked. Both terms are used often so we should try to understand what they mean for us today. Righteous is not a word we use accept when maybe trying to describe a "self-righteous" person; the psalms use the term to portray a good, humble, person who seeks God and wants to please God in all things. The righteous trust in God, not in themselves. They are the poor in spirit and count on God to save them.
The wicked are the opposite. They are proud and rely on their own resourcefulness and are greedy and arrogant and act as if they had no need of God.