Bhagavad Gita · 8.7
तस्मात्सर्वेषु कालेषु मामनुस्मर युध्य च।मय्यर्पितमनोबुद्धिर्मामेवैष्यस्यसंशयम्॥
tasmāt sarveṣhu kāleṣhu mām anusmara yudhya cha mayy arpita-mano-buddhir mām evaiṣhyasy asanśhayam
Therefore, at all times remember Me and fight. With your mind and intellect surrendered to Me, you shall surely come to Me alone; of this there is no doubt.
— Bhagavad Gita 8.7
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)