Bhagavad Gita 3.30

Chapter 3: The yoga of action

मयि सर्वाणि कर्माणि संन्यस्याऽध्यात्मचेतसा ।
निराशीर्निर्ममो भूत्वा युध्यस्व विगतज्वरः ॥ ३० ॥

Surrendering all actions to Me, with thy thoughts resting on the supreme Self, from hope and egoism freed, and of mental fever cured, engage in battle.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.