Bhagavad Gita 12.18

समः शत्रौ च मित्रे च तथा मानापमानयोः।शीतोष्णसुखदुःखेषु समः सङ्गविवर्जितः ॥१२.१८॥

samaḥ śatrau ca mitre ca tathā mānāpamānayoḥśītoṣṇasukhaduḥkheṣu samaḥ saṅgavivarjitaḥ

He who is the same to foe and friend, and also in honor and dishonor, who is the same in cold and heat, in pleasure and pain, and who is free from attachment.

गीता