Contrasting the way of the wicked and the righteous is a very common theme in the Old Testament. Here are a few Psalms where we find this theme.
righteous
righteous, dikaios
Tools and resources you need to do a word study on the Greek word for righteous: dikaios
Psalm 73: The wicked contrasted with the righteous
Psalm 73 The end of the wicked contrasted with the end of the righteous.