Nissāraṇīyasutta
“Pañcimā, bhikkhave, nissāraṇīyā dhātuyo. Katamā pañca? Idha, bhikkhave, bhikkhuno kāmaṁ manasikaroto kāmesu cittaṁ na pakkhandati nappasīdati na santiṭṭhati na vimuccati. Nekkhammaṁ kho panassa manasikaroto nekkhamme cittaṁ pakkhandati pasīdati santiṭṭhati vimuccati. Tassa taṁ cittaṁ sugataṁ subhāvitaṁ suvuṭṭhitaṁ suvimuttaṁ suvisaṁyuttaṁ kāmehi; ye ca kāmapaccayā uppajjanti āsavā vighātapariḷāhā, mutto so tehi, na so taṁ vedanaṁ vediyati. Idamakkhātaṁ kāmānaṁ nissaraṇaṁ.
Elements of Escape
“Mendicants, there are these five elements of escape. What five? Take a case where a mendicant focuses on sensual pleasures, but on that their mind does not leap forth, gain confidence, settle down, and become decided. But when they focus on renunciation, on that their mind leaps forth, gains confidence, settles down, and becomes decided. Their mind is in a good state, well developed, well risen, well freed, and well detached from sensual pleasures. They’re freed from the distressing and feverish defilements that arise because of sensual pleasures, so they don’t experience that kind of feeling. This is how the escape from sensual pleasures is explained.