Bhagavad Gita 13.22
पुरुषः प्रकृतिस्थो हि भुङ्क्ते प्रकृतिजान्गुणान्। कारणं गुणसङ्गोऽस्य सदसद्योनिजन्मसु।।13.22।।
puruṣaḥ prakṛtistho hi bhuṅkte prakṛtijānguṇān| kāraṇaṃ guṇasaṅgo'sya sadasadyonijanmasu||13.22||
purushah prakritistho hi bhunkte prakritijangunan karanam gunasango'sya sadasadyonijanmasu13.22
Meaning
The soul seated in Prakriti experiences the modes of nature born of Prakriti. Attachment to these modes is the cause of birth in good and evil wombs.
प्रकृति में स्थित पुरुष प्रकृति से उत्पन्न गुणों को भोगता है। इन गुणों का संग ही इस पुरुष (जीव) के शुभ और अशुभ योनियों में जन्म लेने का कारण है।
This is verse 22 of 35 in Chapter 13 (Kshetra Kshetrajna Vibhaga Yoga) of the Bhagavad Gita.