Yōga Sūtras
Yōga Sūtra 4.24
तदसङ्ख्येयवासनाभिश्चित्रमपि परार्थं संहत्यकारित्वात्।
Even though that (Chitta) is afflicted by innumerable past imprints that are variegated, for the sake of higher understanding, it operates by killing them.