Chapter 3 · The Yoga of Action · Krishna said
Bhagavad Gita 3.18 — Nothing to gain
नैव तस्य कृतेनार्थो नाकृतेनेह कश्चन। न चास्य सर्वभूतेषु कश्चिदर्थव्यपाश्रयः ॥
naiva tasya kṛtenārtho nākṛteneha kaścana | na cāsya sarvabhūteṣu kaścidarthavyapāśrayaḥ ||
Meaning
Such a person has nothing to gain by acting or by not acting in this world, and does not depend on any being for anything.