Jonathan Swift said this quote

Tis an old maxim in the schools That flattery's the food of fools - Yet now and then your men of wit Will condescend to take a bit.