Bhagavad Gita · 12.15
यस्मान्नोद्विजते लोको लोकान्नोद्विजते च यः।हर्षामर्षभयोद्वेगैर्मुक्तो यः स च मे प्रियः॥
yasmān nodvijate loko lokān nodvijate cha yaḥ harṣhāmarṣha-bhayodvegair mukto yaḥ sa cha me priyaḥ
One by whom the world is not agitated and who is not agitated by the world, who is free from joy, envy, fear, and anxiety — that person is also dear to me.
— Bhagavad Gita 12.15
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)