Śrīmad-Bhāgavatam · Text 6.17.30
Who is speaking and story frame
अविवेककृत: पुंसो ह्यर्थभेद इवात्मनि ।
गुणदोषविकल्पश्च भिदेव स्रजिवत्कृत: ॥ ३० ॥
aviveka-kṛtaḥ puṁso
hy artha-bheda ivātmani
guṇa-doṣa-vikalpaś ca
bhid eva srajivat kṛtaḥ
As one mistakenly considers a flower garland to be a snake or experiences happiness and distress in a dream, so, in the material world, by a lack of careful consideration, we differentiate between happiness and distress, considering one good and the other bad.
Read Śrīla Prabhupāda's purport on Vedabase.io