Death is inevitable maybe, but whether it's necessary is a philosophical question without a satisfying answer.
As for the necessity of death... Plenty of sibling and nephew/niece comments say it's essentially unavoidable and necessary, others say some set of human beings could do something brilliant that would pull us out of it one day. I'd actually say both perspectives capture something important. The pragmatic knowledge of our unavoidable expiration is worth living with, and the hope to overturn death and despair is worth living for.
One metaphor for how this life feels might be that we find ourselves in a testing chamber, being asked questions about the test we're writing, for which we could not study. The good news is, it's an open book test, and we've got many years to write our answers! ...But, then the textbooks contradict each other almost as often as they agree on some important point. Every once in a while it seems as if an invigilator calls someone off, and invites another person into their seat. Also, occasionally, fistfights break out over which textbook you ought to be reading from.
Hopefully we’ll fix it one day.
Read this, from someone who's thought about it a bit more deeply than Mr Yudkowsky.