Bhagavad Gita 3.27
प्रकृतेः क्रियमाणानि गुणैः कर्माणि सर्वशः ।
अहङ्कारविमूढात्मा कर्ताऽहमिति मन्यते ॥ २७ ॥
All actions are wrought by the qualities of nature only. The self, deluded by egoism, thinketh: "I am the doer."
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.