Bhagavad Gita 12.17

यो न हृष्यति न द्वेष्टि न शोचति न काङ् क्षति |
शुभाशुभपरित्यागी भक्तिमान्य: स मे प्रिय:

Translation

Those who neither rejoice in mundane pleasures nor despair in worldly sorrows, who neither lament for any loss nor hanker for any gain, who renounce both good and evil deeds, such persons who are full of devotion are very dear to Me.