Śrīmad-Bhāgavatam · Text 5.1.37
Who is speaking and story frame
अहो असाध्वनुष्ठितं यदभिनिवेशितोऽहमिन्द्रियैरविद्यारचितविषमविषयान्धकूपे तदलमलममुष्या वनिताया विनोदमृगं मां धिग्धिगिति गर्हयाञ्चकार ॥ ३७ ॥
aho asādhv anuṣṭhitaṁ yad abhiniveśito ’ham indriyair avidyā-racita-viṣama-viṣayāndha-kūpe tad alam alam amuṣyā vanitāyā vinoda-mṛgaṁ māṁ dhig dhig iti garhayāṁ cakāra.
The King thus began criticizing himself: Alas, how condemned I have become because of my sense gratification! I have now fallen into material enjoyment, which is exactly like a covered well. I have had enough! I am not going to enjoy any more. Just see how I have become like a dancing monkey in the hands of my wife. Because of this, I am condemned.
Read Śrīla Prabhupāda's purport on Vedabase.io