At Sāvatthī. “Mendicants, desire and greed for form, feeling, perception, choices, or consciousness is a corruption of the mind. When a mendicant has given up mental corruption in these five cases, their mind inclines to renunciation. A mind imbued with renunciation is said to be fit for work regarding anything that can be realized by insight.”
The Linked Discourses on corruptions are complete.