Bhagavad Gita 4.27

सर्वनिन्द्रियकर्माणि प्राणकर्माणि चापरे |
आत्मसंयमयोगाग्नौ जुह्वति ज्ञानदीपिते

Translation

Some, inspired by knowledge, offer the functions of all their senses and their life energy in the fire of the controlled mind.