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

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