When you think of your own death, remind yourself that death is not a curse; it is a blessing.
Throughout most of our lives, death is a curse. When a loved one dies we grieve, sometimes for decades. In hospitals, death is the enemy and rightly so. People killed in war are honored as paying the last price. If we have a spouse and children, we pray for their health and safety. We fear their death.
For most of our life we have the attitude that death is bad and life is good, but then we come to the end stages of our life and this attitude has to reverse. Many of us face death at some early stage of life where it is difficult to see a fatal illness as a blessing. Those who die in old age might find it easier to accept.
The reality is that death is a good thing. (We do not have the wisdom to know when it is best.)
A person might die without coming to this awareness. Others may get it fairly late in the process. In the end, we will all know that death is good.