Chapter 6 · The Yoga of Meditation · Krishna said
Bhagavad Gita 6.32 — Others' pain as one's own
आत्मौपम्येन सर्वत्र समं पश्यति योऽर्जुन। सुखं वा यदि वा दुःखं स योगी परमो मतः ॥
ātmaupamyena sarvatra samaṃ paśyati yo'rjuna | sukhaṃ vā yadi vā duḥkhaṃ sa yogī paramo mataḥ ||
Meaning
Arjuna, the yogi who judges the joy and sorrow of all by comparing them to his own is considered the highest.