Proverbs 17:26-28 English Standard Version (ESV)

26. To impose a fine on a righteous man is not good,nor to strike the noble for their uprightness.

27. Whoever restrains his words has knowledge,and he who has a cool spirit is a man of understanding.

28. Even a fool who keeps silent is considered wise;when he closes his lips, he is deemed intelligent.

Proverbs 17