Proverbs 21:23

Whoever guards his mouth and tongue Keeps his soul from troubles.

Surrounding context

21:22 A wise man scales the city of the mighty, And brings down the trusted stronghold.

21:23 Whoever guards his mouth and tongue Keeps his soul from troubles.

21:24 A proud and haughty man--"Scoffer" is his name; He acts with arrogant pride.

Translation and sources