[259] Bhikkhus, if, while that bhikkhu is examining the danger of those thoughts (vitakka), there still arise evil, unwholesome thoughts connected with desire, connected with hatred, and connected with delusion, then, bhikkhus, that bhikkhu should bring about the forgetting of those thoughts and non-attention to them. As he brings about the forgetting of those thoughts and non-attention to them, whatever evil, unwholesome thoughts connected with desire, connected with hatred, and connected with delusion there are — they are abandoned, they come to an end. With the abandoning of them, the mind (citta) becomes internally steadied, settles down, becomes unified, and becomes concentrated (samādhi).
Just as, bhikkhus, a man with eyes, not wishing to see forms that have come into his range of vision, would either close his eyes or look away in another direction — even so, bhikkhus, if, while that bhikkhu is examining the danger of those thoughts, there still arise evil, unwholesome thoughts connected with desire … the mind becomes unified and concentrated.
English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.