Chapter 5 · The Yoga of Renunciation · Krishna said
Bhagavad Gita 5.25 — Devoted to all beings' good
लभन्ते ब्रह्मनिर्वाणमृषयः क्षीणकल्मषाः। छिन्नद्वैधा यतात्मानः सर्वभूतहिते रताः ॥
labhante brahmanirvāṇamṛṣayaḥ kṣīṇakalmaṣāḥ | chinnadvaidhā yatātmānaḥ sarvabhūtahite ratāḥ ||
Meaning
Sages whose sins are gone, whose doubts are cut, who are self-controlled and devoted to the welfare of all beings, attain the peace of Brahman.