A deva asks the Buddha how sentient beings can escape from their tangles. By the destruction of lust (rāga), hatred (dosa), and delusion (moha), answers the Buddha. This sutta forms the basis of the Visuddhimagga. S.i.13; repeated at i.165.
“Antojaṭā bahijaṭā, jaṭāya jaṭitā pajā.
Taṃ taṃ Gotama pucchāmi, ko imaṃ vijaṭaye jaṭan”ti
“The inner tangle and the outer tangle —
This generation is entangled in a tangle.
And so I ask of Gotama this question:
Who succeeds in disentangling this tangle?”
“Sīlepatiṭṭhāya naro sapañño, cittaṃ paññañca bhāvayaṃ.
Ātāpī nipako bhikkhu, so imaṃ vijaṭaye jaṭanti.”
“When a wise man, established well in virtue,
Develops concentration and insight,
Then as a bhikkhu ardent and prudent,
He succeeds in disentangling this tangle.”
The following two verses in the Saṃyuttanikāya are not commented on in the Visuddhimagga. They describe the Arahant and the state of nibbāna.
“Yesaṃ rāgo ca doso ca, avijjā ca virājitā.
Khīṇāsavā arahanto, tesaṃ vijaṭitā jaṭā.
“Whoever removes lust, ill-
“Yattha nāmañca rūpañca, asesaṃ uparujjhati.
Paṭighaṃ rūpasaññā ca, etthesā chijjate jaṭā”ti.
“Where mind and matter cease without remainder, and the perception of forms do not strike, here the tangle is cut.”