Jonathan Swift said this quote

A wise man should have money in his head, but not in his heart.