Bhagavad Gita 14.17

सत्त्वत्सञ्जायते ज्ञानं रजसो लोभ एव च ​​|
प्रमादमोहौ तमसो भवतोऽज्ञानमेव च

Translation

From the mode of goodness arises knowledge, from the mode of passion arises greed, and from the mode of ignorance arise negligence and delusion.