Bhagavad Gita, Chapter 8, Verse 6

यं यं वापि स्मरन्भावं त्यजत्यन्ते कलेवरम् । तं तमेवैति कौन्तेय सदा तद्भावभावितः

yaṃ yaṃ vāpi smaranbhāvaṃ tyajatyante kalevaram | taṃ tamevaiti kaunteya sadā tadbhāvabhāvitaḥ

Translation

Of whatever Being thinking at the end a man leaves the body, Him alone, O son of Kuntī, reaches he by whom the thought of that Being has been constantly dwelt upon.

— Alladi Mahadeva Sastri

Word meanings

yam
which
yam
which
or
api
also
smaran
remembering
bhāvam
nature
tyajati
abandons
ante
in the end
kalevaram
the body
tam
to that
tam
to that
eva
only
eti
goes
kaunteya
O Kaunteya
sadā
always
tadbhāvabhāvitaḥ
(by) that, (by) nature, natured (inspired)

Śaṅkarācārya's commentary

"Being": a particular Devatā or Deity. "At the end": at the time of life's departure. "Him alone": only the Being thought of, and no other. "Dwelt upon": constantly meditated.