François De La Rochefoucauld said this quote

The truest way to be deceived is to think oneself more knowing than others.