Bhagavad Gita · 9.7
सर्वभूतानि कौन्तेय प्रकृतिं यान्ति मामिकाम्।कल्पक्षये पुनस्तानि कल्पादौ विसृजाम्यहम्॥
sarva-bhūtāni kaunteya prakṛtiṁ yānti māmikām kalpa-kṣhaye punas tāni kalpādau visṛjāmy aham
At the end of a cosmic cycle, O son of Kunti, all beings merge into My material nature. At the beginning of the next cycle, I create them again.
— Bhagavad Gita 9.7
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)