Proverbs 13:6

6 Righteousness keepeth [him that is] upright in the way: but wickedness overthroweth the sinner.