Bhagavad Gita 9.23
येऽप्यन्यदेवता भक्ता यजन्ते श्रद्धयाऽन्विताः।तेऽपि मामेव कौन्तेय यजन्त्यविधिपूर्वकम्॥
ye'pyanyadevatā bhaktā yajante śraddhayā'nvitāḥ |te'pi māmeva kaunteya yajantyavidhipūrvakam ||
Even those devotees who, endowed with faith, worship other gods, worship Me alone, O Arjuna, but by the wrong method.
Even those who worship the lesser powers, if they do so with faith, they are thereby worshipping Me, though not in the correct manner.
Our plain-language meaning of this verse is waiting for scholar review.