Bhagavad Gita · 8.8
अभ्यासयोगयुक्तेन चेतसा नान्यगामिना।परमं पुरुषं दिव्यं याति पार्थानुचिन्तयन्॥
abhyāsa-yoga-yuktena chetasā nānya-gāminā paramaṁ puruṣhaṁ divyaṁ yāti pārthānuchintayan
With the mind disciplined through the practice of yoga, not wandering to anything else, one who constantly meditates on the Supreme Divine Person attains Him, O Partha.
— Bhagavad Gita 8.8
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)