The works of Ādi Śaṅkarācārya

Sanatsujātīyam

p. 280

p. 280

आचार्ययोगे फलतीति चाहुर्ब्रह्मार्थयोगेन च ब्रह्मचर्यम् ॥ १४ ॥

In plain words

It bears fruit when a teacher is joined to it — so they say; and brahmacarya is brahmacarya when it is joined to Brahman as its aim.

Close to the Sanskrit

In connection with a teacher it bears fruit — thus, they say; and brahmacarya (is such) through connection with Brahman as its aim.