Recollection of death also serves as a useful preparation for the time when one actually has to face death. As the concluding exercise among the body contemplations, a regular recollection of death can lead to the realization that death is fearful only to the extent to which one identifies with the body. With the aid of the body contemplations one can come to realize the true [impermanent] nature of the body and thereby overcome one's attachment to it. Being free from attachment to the body, one will be freed from any fear of physical death.
Anālayo, Satipaṭṭhāna: The Direct Path to Realization
buddhism, death, detachment, meditation, sutra