The Buddha lists the three roots of the unwholesome - greed, aversion, and delusion, and explain their effect on the mind with a simile.

Mūla sutta - Roots [Of The Unwholesome]

This was said by the Blessed One, said by the Arahant, as I have heard:

"There are these three roots of the unwholesome, bhikkhus. What are the three? Greed is a root of the unwholesome, aversion is a root of the unwholesome, illusion is a root of the unwholesome. These, bhikkhus, are the three roots of the unwholesome."

The Blessed One spoke on this matter. In this regard, it is said:

"Greed, aversion, and delusion, afflict the person with a corrupt mind; They arise from within and harm him, like a banana tree being destroyed by its own fruit."

This matter too was spoken by the Blessed One, as I have heard.