“Men always consider the sentiments of others in their judgment of themselves.”
David Hume, A Treatise of Human Nature
David Hume wrote this in A Treatise of Human Nature.
Where it appears
We are ashamed of such maladies as affect others, and are either dangerous or disagreeable to them. Of the epilepsy; because it gives a horror to everyone present: Of the itch; because it is infectious: Of the king’s-evil; because it commonly goes to posterity. Men always consider the sentiments of others in their judgment of themselves. This has evidently appeared in some of the foregoing reasonings; and will appear still more evidently, and be more fully explained afterwards.
From the public-domain edition, read it free.