B.G 4.22
यदृच्छालाभसन्तुष्टो द्वन्द्वातीतो विमत्सरः। समः सिद्धावसिद्धौ च कृत्वाऽपि न निबद्ध्यते ॥२२॥
yadr̥cchālābhasantuṣṭo dvandvātīto vimatsaraḥ। samaḥ siddhāvasiddhau ca kr̥tvā'pi na nibaddhyate ॥22॥
He, who is contented with whatever gains he makes without expectation, who has gone beyond the dualities, who is free from jealousy, and who responds equanimously to success or failure, is not bound by actions.
Gīta Bhāshya 4.22
The characteristics of the conciousness of such a person are explained in the verse.
'yatacittātmanaḥ', from the previous verse which means 'characteristics of the conciousness of such a person' is further explained is the current verse 'yadr̥cchālābha', i.e . who is contented with whatever gains he makes without expectation. How does he go beyond the dualities? By responding equanimously to success and failure.