Bhagavad Gita 8.22

Chapter 8: The imperishable

पुरुषः स परः पार्थ भक्त्या लभ्यस्त्वनन्यया ।
यस्यान्तःस्थानि भूतानि येन सर्वमिदं ततम् ॥ २२ ॥

He, the highest Spirit, O Pârtha, may be reached by unswerving devotion to Him alone, in whom all beings abide, by whom all This is pervaded.

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