Even if death is usually bad for those of us who die, perhaps it need not be bad for us, if we prepare ourselves suitably. This might be possible if some form of preferentialism is true, and if, by altering our desires, we could cease to have any interests that dying would impair. For then we might be able to thanatize our desires, in this sense: we might abandon all desires that death might thwart. Among these are desires we can satisfy only if we live on for a few days, but also desires we cannot possibly satisfy within the span of a normal lifetime, and the desire for immortality itself. Instead of desiring that some project of mine succeed, which is a desire that might be thwarted by my death, I might instead adopt a conditionalized version of this desire, namely: should I live on, let my project succeed. If all goes well, thanatizing would insulate us from harm from death by leaving us with no interests with which dying interferes.
Unfortunately, this strategy will backfire.
https://plato.stanford.edu/entries/death/
But then I personally feel that a sense of our own mortality is important. What gives?