Śrīmad-Bhāgavatam · Texts 3.26.23-24
Who is speaking and story frame
महत्तत्त्वाद्विकुर्वाणाद्भगवद्वीर्यसम्भवात् ।
क्रियाशक्तिरहङ्कारस्त्रिविध: समपद्यत ॥ २३ ॥
वैकारिकस्तैजसश्च तामसश्च यतो भव: ।
मनसश्चेन्द्रियाणां च भूतानां महतामपि ॥ २४ ॥
mahat-tattvād vikurvāṇād
bhagavad-vīrya-sambhavāt
kriyā-śaktir ahaṅkāras
tri-vidhaḥ samapadyata
vaikārikas taijasaś ca
tāmasaś ca yato bhavaḥ
manasaś cendriyāṇāṁ ca
bhūtānāṁ mahatām api
The material ego springs up from the mahat-tattva, which evolved from the Lord’s own energy. The material ego is endowed predominantly with active power of three kinds: good, passionate and ignorant. It is from these three types of material ego that the mind, the senses of perception, the organs of action, and the gross elements evolve.
Read Śrīla Prabhupāda's purport on Vedabase.io