The difference between the righteous and the wicked from a biblical perspective is simple. The righteous are those who have forsaken their own wickedness by receiving Jesus and being sealed by the Holy Spirit for that day of redemption. Now our wickedness is no longer a barrier between us and God it's been forgiven. So it's not that the righteous, in God's eyes, are better than the wicked rather the righteous are forgiven and that forgiveness breaks down the barrier between God and us.