Bhagavad Gita · 14.25
मानापमानयोस्तुल्यस्तुल्यो मित्रारिपक्षयोः।सर्वारम्भपरित्यागी गुणातीतः स उच्यते॥
mānāpamānayos tulyas tulyo mitrāri-pakṣhayoḥ sarvārambha-parityāgī guṇātītaḥ sa uchyate
One who is equal in honor and dishonor, equal toward friend and foe, and who has renounced all undertakings — that person is said to have transcended the gunas.
— Bhagavad Gita 14.25
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)