Bhagavad-gītā As It Is · Text 9.23
Worship and the Supreme enjoyer
येऽप्यन्यदेवताभक्ता यजन्ते श्रद्धयान्विता: ।
तेऽपि मामेव कौन्तेय यजन्त्यविधिपूर्वकम् ॥ २३ ॥
ye ’py anya-devatā-bhaktā
yajante śraddhayānvitāḥ
te ’pi mām eva kaunteya
yajanty avidhi-pūrvakam
Those who are devotees of other gods and who worship them with faith actually worship only Me, O son of Kuntī, but they do so in a wrong way.
Read Śrīla Prabhupāda's purport on Vedabase.io