Plato wrote that philosophy was preparation for death, preparing to think without a body.
Christians believe that their religion prepares them for judgment after death.
Tibetan Buddhists believe that meditation prepares them for the bardo or intermediate state.
I suggest that meditation does prepare us for death - for letting go of everything, including thought and belief.
We are always close to death because life is temporary local negative entropy. We cannot swim against the stream indefinitely and will be swept down to the lowest energy level, the heat death of the universe.