One verse

Srimad Bhagavatam 9.6.10

9.6.10

स तु विप्रेण संवादं ज्ञापकेन समाचरन् । त्यक्त्वा कलेवरं योगी स तेनावाप यत् परम् ॥ १० ॥

sa tu viprena samvadam jnapakena samacaran tyaktva kalevaram yogi sa tenavapa yat param

sah
Maharaja Iksvaku
tu
indeed
viprena
with the brahmana (Vasistha)
samvadam
discussion
jnapakena
with the informer
samacaran
doing accordingly
tyaktva
giving up
kalevaram
this body
yogi
being a bhakti-yogi in the order of renunciation
sah
the King
tena
by such instruction
avapa
achieved
yat
that position which
param
supreme.

Having been instructed by the great and learned brahmana Vasistha, who discoursed about the Absolute Truth, Maharaja Iksvaku became renounced. By following the principles for a yogi, he certainly achieved the supreme perfection after giving up his material body.