“Unlike the simple animals, who have no developed mind, the dying human being can remember the activities of his life like dreams at night; therefore his mind remains surcharged with material desires, and consequently he cannot enter into the spiritual kingdom with a spiritual body. The devotees, however, develop a sense of love for Godhead by practicing devotional service to the Lord. Even if at the time of death a devotee does not remember his service to the Lord, the Lord does not forget him. This prayer is given to remind the Lord of the devotee’s sacrifices, but even if there is no such reminder, the Lord does not forget the service rendered by His pure devotee.”
Lord Krishna says,
“Engage your mind always in thinking of Me, become My devotee, offer obeisances to Me and worship Me.
Being completely absorbed in Me, surely you will come to Me.”
Bhagavad-gita As It Is 9.30-34