Bhagavad Gita 7.29

Chapter 7: Knowledge and realisation

जरामरणमोक्षाय मामाश्रित्य यतन्ति ये ।
ते ब्रह्म तद्विदुः कृत्स्नमध्यात्मं कर्म चाखिलम् ॥ २९ ॥

They who, refuged in Me, strive for liberation from birth and death, they know the Eternal, the whole Self-knowledge, and all action.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.