Bhagavad Gita 4.37

यथैधांसि समिद्धोऽग्निर्भस्मासत्कुरुतेऽर्जुन |
ज्ञानाग्नि: सर्वकर्माणि भस्मसात्कुरुते तथा

Translation

As a kindled fire reduces wood to ashes, O Arjun, so does the fire of knowledge burn to ashes all reactions from material activities.