Bhagavad Gita 18.26

मुक्तसङ्गोऽनहंवादी धृत्युत्साहसमन्वित: |
सिद्ध्यसिद्ध्योर्नविकार: कर्ता सात्विक उच्यते

Translation

The performer is said to be in the mode of goodness, when he or she is free from egotism and attachment, endowed with enthusiasm and determination, and equipoised in success and failure.