“Defiled by passion, the mind is not released. Defiled by ignorance, discernment does not develop. Thus from the fading of passion is there awareness-release. From the fading of ignorance is there discernment-release.”
AN2.30: Vimutti Sutta
Vimutti Sutta: Release - translated by Thanissaro Bhikkhu
Translated by Thanissaro Bhikkhu. Source text via dhammatalks.org.