P30: If someone has done something which he imagines affects others with Joy, he will be affected with Joy accompanied by the idea of himself as cause, or he will regard himself with Joy. If, on the other hand, he has done something which he imagines affects others with Sadness, he will regard himself with Sadness.

Dem.: He who imagines that he affects others with Joy or Sadness will thereby (by P27) be affected with Joy or Sadness. But since man (by IIP19 and P23) is conscious of himself through the affections by which he is determined to act, then he who has done something which he imagines affects others with Joy will be affected with Joy, together with a consciousness of himself as the cause, or, he will regard himself with Joy, and the converse, q.e.d.

Schol.: Since Love (by P13 S) is Joy, accompanied by the idea of an external cause, and Hate is Sadness, accompanied also by the idea of an external cause, this Joy and Sadness are species of Love and Hate. But because Love and Hate are related to external objects, we shall signify these affects by other names. Joy accompanied by the idea of an internal cause, we shall call love of esteem, and the Sadness contrary to it, Shame—I mean when the Joy or Sadness arise from the fact that the man believes that he is praised or blamed.

Otherwise, I shall call Joy accompanied by the idea of an internal cause, Self-esteem, and the Sadness contrary to it, Repentance.

Next, because (by IIP17 C) it can happen that the Joy with which someone imagines that he affects others is only imaginary, and (by P25) everyone strives to imagine concerning himself whatever he imagines affects himself with Joy, it can easily happen that one who exults at being esteemed is proud and imagines himself to be pleasing to all, when he is burdensome to all.