Benjamin Franklin said this quote

He that would live in peace and at ease must not speak all he knows or all he sees.