Bhagavad Gita, Chapter 14, Verse 24

समदुःखसुखः स्वस्थः समलोष्टाश्मकाञ्चनः । तुल्यप्रियाप्रियो धीरस्तुल्यनिन्दात्मसंस्तुतिः

samaduḥkhasukhaḥ svasthaḥ samaloṣṭāśmakāñcanaḥ | tulyapriyāpriyo dhīrastulyanindātmasaṃstutiḥ

Translation

He to whom pain and pleasure are alike, who dwells in the Self, to whom a clod of earth and stone and gold are alike, to whom the dear and the undear are alike, who is a man of wisdom, to whom censure and praise are the same;

— Alladi Mahadeva Sastri

Word meanings

samaduḥkhasukhaḥ
the same, sorrow, and, pleasure, and, for whom, he
svasthaḥ
in own self, standing
samaloṣṭāśmakāñcanaḥ
equal, clod, and, stone, and, gold, and, for whom, he
tulyapriyāpriyaḥ
equal, loved, and, unloved, and, for whom, he
dhīraḥ
firm
tulyanindātmasaṃstutiḥ
equal, blame, and, of self, praise, and, for whom, he

Śaṅkarācārya's commentary

"Who dwells in the Self": who is calm. He treats opposites with equanimity, regarding earth, stone and gold as equally indifferent, indifferent to whether things are dear or undear, and unaffected by censure or praise.