Proverbs 17:28

BSB
Even a fool is considered wise if he keeps silent, and discerning when he holds his tongue.