Bhagavad Gita 12.15
He who does not harm the world, and whom the world cannot harm, who is not carried away by any impulse of joy, anger, or fear; such a one is My beloved.
यस्मान्नोद्विजते लोको लोकान्नोद्विजते च यः।हर्षामर्षभयोद्वेगैर्मुक्तो यः स च मे प्रियः॥yasmānnodvijate loko lokānnodvijate ca yaḥ|harṣāmarṣabhayodvegairmukto yaḥ sa ca me priyaḥ||
English translation (above): Shri Purohit Swami (1935), public domain. Sanskrit text via github.com/gita/gita (Unlicense).