One verse

Srimad Bhagavatam 3.5.30

3.5.30

अहंतत्त्वाद्विकुर्वाणान्मनो वैकारिकादभूत् । वैकारिकाश्च ये देवा अर्थाभिव्यञ्जनं यत: ॥ ३० ॥

aham-tattvad vikurvanan mano vaikarikad abhut vaikarikas ca ye deva arthabhivyanjanam yatah

aham-tattvat
from the principle of false ego
vikurvanat
by transformation
manah
the mind
vaikarikat
by interaction with the mode of goodness
abhut
generated
vaikarikah
by interaction with goodness
ca
also
ye
all these
devah
demigods
artha
the phenomenon
abhivyanjanam
physical knowledge
yatah
the source.

The false ego is transformed into mind by interaction with the mode of goodness. All the demigods who control the phenomenal world are also products of the same principle, namely the interaction of false ego and the mode of goodness.