Bhagavad Gita 13.31

यदा भूतपृथग्भावमेकस्थमनुपश्यति।तत एव च विस्तारं ब्रह्म सम्पद्यते तदा ॥१३.३१॥

yadā bhūtapṛthagbhāvamekasthamanupaśyatitata eva ca vistāraṃ brahma sampadyate tadā

When a person sees all beings as resting in the One and emanating from the One alone, they then become Brahman.

गीता