The righteous and the wicked are contrasted in Scripture. (cf. Psalm 1:1-6) It is easy to read this text and say to oneself. I am righteous, I read the word of God daily, and I seek to obey his will; however, that other guy over there does not even go to a church.
Let us not forget what the apostle Paul said in Romans 3:10-12,
“THERE IS NONE RIGHTEOUS, NOT EVEN ONE;
THERE IS NONE WHO UNDERSTANDS,
THERE IS NONE WHO SEEKS FOR GOD;
ALL HAVE TURNED ASIDE, TOGETHER THEY HAVE BECOME USELESS;
THERE IS NONE WHO DOES GOOD,
THERE IS NOT EVEN ONE.”
If the righteous are like a tree firmly planted beside streams of water and the wicked are like chaff which the wind blows away, who is righteous on the earth? We compare persons with other persons, or to some standard that we conceive, but the Scripture calls a person obedient to the word and will of God righteous. Have you been perfectly obedient to the word and will of God?
Worship the LORD with reverence
And rejoice with trembling.
Do homage to the Son, that He not become angry, and you perish in the way,
For His wrath may soon be kindled.
How blessed are all who take refuge in Him!
The answer is to have repentance towards God and faith in his Son, Jesus Christ the Lord! There is forgiveness of sins for those who who have repentance towards God and faith in his Son, Jesus Christ the Lord. Plant yourself in Jesus Christ and observe all that he commanded. Take refuge from the wrath of God in the Son, Jesus Christ the Lord.