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.
 David Hume, An Enquiry Concerning the Principles of Morals (1751). copy citation

Context

“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. Wherein, then, consists Vanity, which is so justly regarded as a fault or imperfection. It seems to consist chiefly in such an intemperate display of our advantages, honours, and accomplishments; in such an importunate and open demand of praise and admiration, as is offensive to others, and encroaches too far on their secret vanity and ambition.” source