A desire of fame, reputation, or a character with others, is so far from being blameable, that it seems inseparable from virtue, genius, capacity, and a generous or noble disposition.
 David Hume, An Enquiry Concerning the Principles of Morals (1751). copy citation

Context

“the vicious excess of the former virtue, namely, insolence or haughtiness, is immediately disagreeable to others; the excess of the latter is so to the possessor. Thus are the boundaries of these duties adjusted. A desire of fame, reputation, or a character with others, is so far from being blameable, that it seems inseparable from virtue, genius, capacity, and a generous or noble disposition. An attention even to trivial matters, in order to please, is also expected and demanded by society; and no one is surprised, if he find a man in company to observe a greater elegance of dress and more pleasant flow of conversation, than when he passes his time at home, and with his own family.” source