One verse

Srimad Bhagavatam 11.17.30

11.17.30

एवंवृत्तो गुरुकुले वसेद् भोगविवर्जित: । विद्या समाप्यते यावद् बिभ्रद् व्रतमखण्डितम् ॥ ३० ॥

evaṁ-vṛtto gurukule vased bhoga-vivarjitaḥ vidyā samāpyate yāvad bibhrad vratam akhaṇḍitam

evam
thus
vṛttaḥ
engaged
gurukule
in the āśrama of the spiritual master
vaset
he should live
bhoga
sense gratification
vivarjitaḥ
freed from
vidyā
Vedic education
samāpyate
is completed
yāvat
until
bibhrat
maintaining
vratam
the vow (of brahmacarya)
akhaṇḍitam
unbroken

Until the student has completed his Vedic education he should remain engaged in the āśrama of the spiritual master, should remain completely free of material sense gratification and should not break his vow of celibacy [brahmacarya].