Prov 13:6

6Righteousness guards one whose way is upright, but sin overthrows the wicked.