Proverbs 22:5 in the World English Bible
Thorns and snares are in the path of the wicked; whoever guards his soul stays far from them.
Context
4 By humility and the fear of the LORD are riches, and honour, and life.
5 Thorns and snares are in the way of the froward: he that doth keep his soul shall be far from them.
6 Train up a child in the way he should go: and when he is old, he will not depart from it.