Śrīmad-Bhāgavatam · Text 6.2.19
Who is speaking and story frame
यथागदं वीर्यतममुपयुक्तं यदृच्छया ।
अजानतोऽप्यात्मगुणं कुर्यान्मन्त्रोऽप्युदाहृत: ॥ १९ ॥
yathāgadaṁ vīryatamam
upayuktaṁ yadṛcchayā
ajānato ’py ātma-guṇaṁ
kuryān mantro ’py udāhṛtaḥ
If a person unaware of the effective potency of a certain medicine takes that medicine or is forced to take it, it will act even without his knowledge because its potency does not depend on the patient’s understanding. Similarly, even though one does not know the value of chanting the holy name of the Lord, if one chants knowingly or unknowingly, the chanting will be very effective.
Read Śrīla Prabhupāda's purport on Vedabase.io