Proverbs 17:26-28 World English Bible (WEB)
26 Also to punish the righteous is not good,
nor to flog officials for their integrity.
27 He who spares his words has knowledge.
He who is even tempered is a man of understanding.
28 Even a fool, when he keeps silent, is counted wise.
When he shuts his lips, he is thought to be discerning.