Righteousness keepeth him that is upright in the way: but wickedness overthroweth the sinner.
– Proverbs 13:6
[T]he contrast is simple between righteousness and wickedness. There is a safety in righteousness, or a deliverance from certain troubles that affect the wicked. The word for righteousness means justice and is often used in context of interpersonal relations (Leviticus 19:9-18). The word for wickedness means wrong and is also often used in context of interpersonal relations (Ezekiel 18:27). Wickedness brings its own punishments (Proverbs 5:22; 11:3, 5-6; 21:12).