Śrīmad-Bhāgavatam · Text 7.15.28
Who is speaking and story frame
षड्वर्गसंयमैकान्ता: सर्वा नियमचोदना: ।
तदन्ता यदि नो योगानावहेयु: श्रमावहा: ॥ २८ ॥
ṣaḍ-varga-saṁyamaikāntāḥ
sarvā niyama-codanāḥ
tad-antā yadi no yogān
āvaheyuḥ śramāvahāḥ
Ritualistic ceremonies, regulative principles, austerities and the practice of yoga are all meant to control the senses and mind, but even after one is able to control the senses and mind, if he does not come to the point of meditation upon the Supreme Lord, all such activities are simply labor in frustration.
Read Śrīla Prabhupāda's purport on Vedabase.io