Bhagavad Gita · 12.17
यो न हृष्यति न द्वेष्टि न शोचति न काङ्क्षति।शुभाशुभपरित्यागी भक्तिमान्यः स मे प्रियः॥
yo na hṛṣhyati na dveṣhṭi na śhochati na kāṅkṣhati śhubhāśhubha-parityāgī bhaktimān yaḥ sa me priyaḥ
One who neither rejoices nor hates, neither grieves nor desires, who has renounced both the auspicious and the inauspicious, and who is full of devotion — such a person is dear to me.
— Bhagavad Gita 12.17
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)