Death is only the end if you assume the story is about you.
Life is like a movie. If you've sat through more than half of it and it sucked every second so far, it probably isn't gonna get great right at the end and make it all worthwhile. No one should blame you for walking out early.