Chapter 4 · Knowledge and Renunciation of Action · Krishna said
Bhagavad Gita 4.22 — Content with what comes
यदृच्छालाभसन्तुष्टो द्वन्द्वातीतो विमत्सरः। समः सिद्धावसिद्धौ च कृत्वापि न निबध्यते ॥
yadṛcchālābhasantuṣṭo dvandvātīto vimatsaraḥ | samaḥ siddhāvasiddhau ca kṛtvāpi na nibadhyate ||
Meaning
Content with whatever comes on its own, beyond opposites, free from envy, and the same in success and failure — such a person is not bound even while acting.