Proverbs 22:5

Thorns and snares lie on the path of the perverse; he who guards his soul stays far from them.