Śrīmad-Bhāgavatam · Text 9.10.8
Who is speaking and story frame
य: सत्यपाशपरिवीतपितुर्निदेशं
स्त्रैणस्य चापि शिरसा जगृहे सभार्य: ।
राज्यं श्रियं प्रणयिन: सुहृदो निवासं
त्यक्त्वा ययौ वनमसूनिव मुक्तसङ्ग: ॥ ८ ॥
yaḥ satya-pāśa-parivīta-pitur nideśaṁ
straiṇasya cāpi śirasā jagṛhe sabhāryaḥ
rājyaṁ śriyaṁ praṇayinaḥ suhṛdo nivāsaṁ
tyaktvā yayau vanam asūn iva mukta-saṅgaḥ
Carrying out the order of His father, who was bound by a promise to his wife, Lord Rāmacandra left behind His kingdom, opulence, friends, well-wishers, residence and everything else, just as a liberated soul gives up his life, and went to the forest with Sītā.
Read Śrīla Prabhupāda's purport on Vedabase.io