Śrīmad-Bhāgavatam · Texts 4.29.26-27
Who is speaking and story frame
यदात्मानमविज्ञाय भगवन्तं परं गुरुम् ।
पुरुषस्तु विषज्जेत गुणेषु प्रकृते: स्वदृक् ॥ २६ ॥
गुणाभिमानी स तदा कर्माणि कुरुतेऽवश: ।
शुक्लं कृष्णं लोहितं वा यथाकर्माभिजायते ॥ २७ ॥
yadātmānam avijñāya
bhagavantaṁ paraṁ gurum
puruṣas tu viṣajjeta
guṇeṣu prakṛteḥ sva-dṛk
guṇābhimānī sa tadā
karmāṇi kurute ’vaśaḥ
śuklaṁ kṛṣṇaṁ lohitaṁ vā
yathā-karmābhijāyate
The living entity by nature has minute independence to choose his own good or bad fortune, but when he forgets his supreme master, the Personality of Godhead, he gives himself up unto the modes of material nature. Being influenced by the modes of material nature, he identifies himself with the body and, for the interest of the body, becomes attached to various activities. Sometimes he is under the influence of the mode of ignorance, sometimes the mode of passion and sometimes the mode of goodness. The living entity thus gets different types of bodies under the modes of material nature.
Read Śrīla Prabhupāda's purport on Vedabase.io