Bhagavad Gita, Chapter 6, Verse 9

सुहृन्मित्रार्युदासीनमध्यस्थद्वेष्यबन्धुषु । साधुष्वपि च पापेषु समबुद्धिर्विशिष्यते

suhṛnmitrāryudāsīnamadhyasthadveṣyabandhuṣu | sādhuṣvapi ca pāpeṣu samabuddhirviśiṣyate

Translation

He is esteemed, who is of the same mind to the good-hearted, friends, foes, the indifferent, the neutral, the hateful, relatives, the righteous, and the unrighteous.

— Alladi Mahadeva Sastri

Word meanings

suhṛnmitrāryudāsīnamadhyasthadveṣyabandhuṣu
in lovers, and, in friends, and, in enemies, and, in apathetics, and, in neutrals, and, in haters, and, in relatives, and
sādhuṣu
in the good
api
also
pāpeṣu
in the bad
samabuddhiḥ
equal, mind, whose, he
viśiṣyate
excels

Śaṅkarācārya's commentary

"He is esteemed": he is the best among the Yogārūḍhas, among those who have attained to Yoga. "Who is of the same mind": who thinks not of a man as to what he is or what he does. A 'good-hearted' man does good to another without expecting any service in return; an 'indifferent' man is one who is partial to neither of two contending sides; a 'neutral' man is one who means well by both the contending sides. The righteous are those who follow the Śāstras, and the unrighteous are those who resort to forbidden acts.