Bhagavad-gītā 8.11
BG 8.11
Open the full passageयदक्षरं वेदविदो वदन्ति विशन्ति यद्यतयो वीतरागाः । यदिच्छन्तो ब्रह्मचर्यं चरन्ति तत्ते पदं संग्रहेण प्रवक्ष्ये ॥११॥
Sanskrit
yad akṣaraṁ veda-vido vadanti viśanti yad yatayo vīta-rāgāḥ yad icchanto brahmacaryaṁ caranti tat te padaṁ saṅgraheṇa pravakṣye
Translation
Persons who are learned in the Vedas, who utter oṁkāra and who are great sages in the renounced order enter into Brahman. Desiring such perfection, one practices celibacy. I shall now briefly explain to you this process by which one may attain salvation.