Bhagavad Gita, Chapter 6, Verse 32

आत्मौपम्येन सर्वत्र समं पश्यति योऽर्जुन । सुखं वा यदि वा दुःखं स योगी परमो मतः

ātmaupamyena sarvatra samaṃ paśyati yo'rjuna | sukhaṃ vā yadi vā duḥkhaṃ sa yogī paramo mataḥ

Translation

Whoso, by comparison with himself, sees the same everywhere, O Arjuna, be it pleasure or pain, he is deemed the highest Yogin.

— Alladi Mahadeva Sastri

Word meanings

ātmaupamyena
of the self, by the likeness
sarvatra
everywhere
samam
equality
paśyati
sees
yaḥ
who
arjuna
O Arjuna
sukham
pleasure
or
yadi
if
or
duḥkham
sorrow
saḥ
he
yogī
yogi
paramaḥ
highest
mataḥ
is thought

Śaṅkarācārya's commentary

He sees that whatever is pleasant to himself is pleasant to all creatures, and that whatever is painful to himself is painful to all beings. Thus seeing, he causes pain to no being; he is harmless. Doing no harm, and devoted to right knowledge, he is regarded as the highest among all Yogins.