Proverbs 22:5

ESV
“Thorns and snares are in the way of the crooked; whoever guards his soul will keep far from them.”