And sometimes we would in fact choose death if we can firmly project that living on would be too painful.
But I do think it is a good point to say that "pleasure and pain have meaning only to the living" so that overall context of life does need to be incorporated into the "big picture" somehow.