In The Ornament of Clear Realization and the Prajnaparamita sutras, methods are often mentioned for transforming afflictions into the path. One of them is bodhicitta; for example, unwholesome deeds such as killing, stealing, sexual misconduct, and lying are no longer deemed unwholesome if committed out of bodhicitta. Another method is gaining realization of emptiness; with this wisdom as a basis, afflictions stop being afflictions and are turned into the path naturally. Thanks to bodhicitta and realization of emptiness, afflictions are made useful; otherwise, in trying to fight afflictions head on, one could come upon harm, even end up in the three lower realms.
- Quote from Gateway to the Vajrayana Path, "The Parable of a Black Snake"