One is incapable of ending suffering without directly knowing, not completely comprehending delusion, without the mind not detaching from it and without abandoning it. One is capable of ending suffering by directly knowing, by fully comprehending delusion, with the mind detaching from it, and by abandoning it.
Mohapariññā sutta - Completely Comprehending Delusion
This was said by the Blessed One, said by the Arahant, as I have heard:
"Bhikkhus, without directly knowing, without fully comprehending illusion, with the mind not detaching from it, and without abandoning it, one is incapable of ending suffering. Indeed bhikkhus, by directly knowing, by fully comprehending delusion, with the mind detaching from it, and by abandoning it, one is capable of ending suffering."
The Blessed One spoke on this matter. In this regard, it is said:
"Disoriented by delusion, through which, beings go to an unfortunate destination; Completely comprehending delusion, those seeing clearly abandon it; Having abandoned it, they do not return, to this world at any time."
This matter too was spoken by the Blessed One, as I have heard.