Śrīmad-Bhāgavatam · Text 3.29.9
Who is speaking and story frame
विषयानभिसन्धाय यश ऐश्वर्यमेव वा ।
अर्चादावर्चयेद्यो मां पृथग्भाव: स राजस: ॥ ९ ॥
viṣayān abhisandhāya
yaśa aiśvaryam eva vā
arcādāv arcayed yo māṁ
pṛthag-bhāvaḥ sa rājasaḥ
The worship of Deities in the temple by a separatist, with a motive for material enjoyment, fame and opulence, is devotion in the mode of passion.
Read Śrīla Prabhupāda's purport on Vedabase.io