William Hazlitt said this quote

An honest man speaks the truth, though it may give offence; a vain man, in order that it may.