A man that really feels no gratitude in his temper, is still pleased to perform grateful actions, and thinks he has, by that means, fulfilled his duty. Actions are at first only considered as signs of motives
 David Hume, A Treatise of Human Nature (1738). copy citation

add
Author David Hume
Source A Treatise of Human Nature
Topic gratitude action
Date 1738
Language English
Reference
Note
Weblink http://www.gutenberg.org/files/4705/4705-h/4705-h.htm

Context

“When any virtuous motive or principle is common in human nature, a person, who feels his heart devoid of that motive, may hate himself upon that account, and may perform the action without the motive, from a certain sense of duty, in order to acquire by practice, that virtuous principle, or at least, to disguise to himself, as much as possible, his want of it. A man that really feels no gratitude in his temper, is still pleased to perform grateful actions, and thinks he has, by that means, fulfilled his duty. Actions are at first only considered as signs of motives: But it is usual, in this case, as in all others, to fix our attention on the signs, and neglect, in some measure, the thing signifyed. But though, on some occasions, a person may perform an action merely out of regard to its moral obligation, yet still this supposes in human nature some distinct principles, which are capable of producing the action, and whose moral beauty renders the action meritorious.” source