William Hurrell Mallock said this quote

If a man wishes to ensure the bad opinion of others, his best course probably is to be honest about himself.