The believer is freed from death as a curse. The nature of death is taken away, and therefore the name is changed. It is but called a sleep, and a sleep in Christ, and a gathering to our fathers, a change, a departing. Death is the godly man's wish, the wicked man's fear...
There is another aspect to a believer's freedom from death - he will not die until the best time. Indeed, none shall die until God's time. What David said to his enemies, so may any man say: 'My times are in thy hand' (Ps 31.15). But this is not always the best time: you may die with Belshazzar, carousing; with Ananias and Sapphira, lying; with the nobleman, unbelieving; with Julian, blaspheming. But this is the privilege of saints, that they shall not die until the best time; not until when, if they were but rightly informed, they would desire to die.
Men cut down weeds at any time, but their corn they will not cut down till the best time. 'You are God's husbandry', says the apostle; you are His wheat, and when you are ripe, when you have done your work, then, and not till then, shall you be gathered into your Master's garner.
(added emphasis my own)
I would encourage you to specifically focus on the last line of the second paragraph. At the moment of your death, if you were rightly informed at that moment as to the nature of things, you would actually DESIRE to die. Why? Because you would realize that for you to go on living would not bring God glory but would rather detract from who He is. Do you understand this? God is eternally and magnificently wise, and so He has planned just the right moment in time for your death, and your death will bring Him glory. So, for you to not desire to die, for you to wish that you would not die, for you to fear death, is actually for you to not desire the glory of God.
May God be glorified both in our lives and in our deaths. May we be assured that when we die it is the perfect time for our death. May we even, when that moment comes, desire the death that is upon it, realizing that it has been planned before the foundation of the world for the greater glory of our Creator, Lord, and Savior.
To God be the glory forever, Amen.