Chapter 12 · The Yoga of Devotion · Krishna said
Bhagavad Gita 12.6 — Offering all actions
ये तु सर्वाणि कर्माणि मयि संन्यस्य मत्परः। अनन्येनैव योगेन मां ध्यायन्त उपासते ॥
ye tu sarvāṇi karmāṇi mayi saṃnyasya matparaḥ | ananyenaiva yogena māṃ dhyāyanta upāsate ||
Meaning
But those who offer all their actions to me, keep me as their highest goal, and worship me with undivided devotion, meditating on me —