संनियम्येन्द्रियग्रामं सर्वत्र समबुद्धयः।ते प्राप्नुवन्ति मामेव सर्वभूतहिते रताः
sanniyamyendriya-grāmaṁ sarvatra sama-buddhayaḥ te prāpnuvanti mām eva sarva-bhūta-hite ratāḥ
Subduing their senses, viewing all conditions of life with an equal eye, and working for the welfare of all beings, they assuredly come to Me.
Translated by Shri Purohit Swami
Having restrained all the senses, being even-minded everywhere, and intent on the welfare of all beings, they verily come unto Me.
Translated by Swami Sivananda
Word meanings (from the gita/gita dataset)
sanniyamya-controlling; indriya-grāmam—all the senses; sarvatra—everywhere; sama-buddayaḥ—equally disposed; te-they; prāpnuvanti—achieve; mām—unto Me; eva—certainly; sarva-bhūtahite—all living entities' welfare; ratāḥ—engaged.