If anyone has done something which he conceives as affecting other men pleasurably, he will be affected by pleasure, accompanied by the idea of himself as cause
 Baruch Spinoza, Ethics (1677). copy citation

add
Author Baruch Spinoza
Source Ethics
Topic pleasure ideas
Date 1677
Language English
Reference
Note Translated by R. H. M. Elwes
Weblink http://www.gutenberg.org/files/3800/3800-h/3800-h.htm

Context

“Furthermore I give the name of praise to the pleasure, with which we conceive the action of another, whereby he has endeavoured to please us; but of blame to the pain wherewith we feel aversion to his action. PROP. XXX. If anyone has done something which he conceives as affecting other men pleasurably, he will be affected by pleasure, accompanied by the idea of himself as cause; in other words, he will regard himself with pleasure. On the other hand, if he has done anything which he conceives as affecting others painfully, he will regard himself with pain. Proof.—He who conceives, that he affects others with pleasure or pain, will, by that very fact, himself be affected with pleasure or pain” source