The man who, not from frivolous fancy, but from proper motives, has performed a generous action, when he looks forward to those whom he has served, feels himself to be the natural object of their love and gratitude, and, by sympathy with them, of the esteem and approbation of all mankind.
 Adam Smith, The Theory of Moral Sentiments (1759). copy citation

Context

“of pity for those who suffer by it; and of the dread and terror of punishment from the consciousness of the justly-provoked resentment of all rational creatures. The opposite behaviour naturally inspires the opposite sentiment. The man who, not from frivolous fancy, but from proper motives, has performed a generous action, when he looks forward to those whom he has served, feels himself to be the natural object of their love and gratitude, and, by sympathy with them, of the esteem and approbation of all mankind. And when he looks backward to the motive from which he acted, and surveys it in the light in which the indifferent spectator will survey it, he still continues to enter into it, and applauds himself by sympathy with the approbation of this supposed impartial judge.” source