Bhagavad Gita 12.4

सन्नियम्येन्द्रियग्रामं सर्वत्र सम्बुद्धय: |
ते प्राप्नुवन्ति मामेव सर्वभूतहिते रता:

Translation

The immoveable—by restraining their senses and being even-minded everywhere, such persons, engaged in the welfare of all beings, also attain Me.