It is said that, a deathbed confession can be a way to alleviate guilt or regrets, allowing the dying person to feel a sense of peace in their last moments. The awareness of their impending death can lead individuals to reflect on their lives and prioritize what truly matters. They may feel a sense of urgency to express truths they have held back or to reconcile with loved ones. In the similar context, Sanskrit says:
अकृत्यं नैव कर्तव्यं प्राणत्यागेSपि संस्थिते |
न च कृत्यं परित्याज्यं एष धर्मः सनातनः ||
Akrutyam naiv kartavyam prantyaagepi sansthite,
Na cha krutym prityaajyam esh dharmah sanaatanah.
Akrutyam = an action which is not right or just. (By adding the prefix 'a' before a word in Sanskrit, the opposite meaning of the word is denoted as is done by 'un' and 'in' English)
Krutya = an action, doing a job.
Kartavyam = duty, doing something.
Praantyaag = the process of dying.
Api = even
Sansthithe = happening, facing.
Parityaajya = abandon , refrain,give up.
Eash = this is.
Dharma = religion.
Sanatanah = from time immemorial. (The Hindu Religion is also called 'Sanaatn Dharma". Here it denotes rightful duties and actions beneficial to mankind ordained by the Religion.)
Even while facing grave danger to his life, one should not indulge in doing wrongful deeds. On the other hand one should never refrain from performing rightful deeds, as this is the 'Dharma' being followed since time immemorial.
Engaging in good deeds is highly beneficial in old age. It can provide purpose, social connection, and a sense of accomplishment, contributing to a more fulfilling and healthy life. Furthermore, helping others can reduce stress and improve overall well-being. Following dharma is believed to contribute to personal and societal well-being, as it aligns actions with the natural order and ethical principles.