Ethics, Part III, Proposition 46
If a man has been affected pleasurably or painfully by anyone, of a class or nation different from his own, and if the pleasure or pain has been accompanied by the idea of the said stranger as cause, under the general category of the class or nation: the man will feel love or hatred, not only to the individual stranger, but also to the whole class or nation whereto he belongs.
Proof
This is evident from III. xvi.
Benedict de Spinoza, The Ethics (Ethica Ordine Geometrico Demonstrata), translated from the Latin by R. H. M. Elwes.
First published in The Chief Works of Benedict de Spinoza, vol. II (London: George Bell and Sons, 1884).
This translation is out of copyright in the United States, where it was published in 1884, and wherever the copyright term is the author's life plus 100 years or less; its translator died in 1892.
Unit divisions, headings and the placement of notes are this site's.
Digital text: Project Gutenberg eBook #3800