Bhagavad Gita 14.25

मानापमानयोस्तुल्यस्तुल्यो मित्ररिपक्षयो: |
सर्वार्म्भपरित्यागी गुणातीत: स उच्यते

Translation

who remain the same in honor and dishonor; who treat both friend and foe alike; and who have abandoned all enterprises – they are said to have risen above the three guṇas.