Bhagavad Gita 8.7

Chapter 8: The imperishable

तस्मात्सर्वेषु कालेषु मामनुस्मर युध्य च ।
मय्यर्पितमनोबुद्धिर्मामेवैष्यस्यसंशयम् ॥ ७ ॥

Therefore at all times think upon Me only and fight. With mind and Reason set on Me, without doubt thou shalt come to Me.

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