Bhagavad Gita 4.37
Chapter 4: Knowledge and the offering of action
यथैधांसि समिद्धोऽग्निर्भस्मसात्कुरुतेऽर्जुन ।
ज्ञानाग्निः सर्वकर्माणि भस्मसात्कुरुते तथा ॥ ३७ ॥
As the burning fire reduces fuel to ashes, O Arjuna, so doth the fire of wisdom reduce all actions to ashes.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.