Blessed is he that expects nothing, for he shall never be disappointed.
Benjamin Franklin (1706-1790) American statesman, scientist, philosopher, aphorist
Poor Richard (1739 ed.)
(Source)
The earliest recorded usage of this phrase is actually Alexander Pope (1727), though Pope says he had devised it many years earlier. Modeled after the Beatitudes in the New Testament.