In shamanism and certain yogas, Taoist yoga, claim very clearly that the purpose is to familiarize yourself with this after-death body, in life, and then the act of dying will not create confusion in the psyche. You will recognize what is happening. You will know what to do. And you will make the clean break.
The purpose of life is to familiarize oneself with this after-death body so that the act of dying will not create confusion in the psyche.