What is the meaning of [It will be all the same a hundred years hence]

In a hundred years’ time we shall all be dead, so why should we worry about
our present trouble and cares? This contain a sound warning against worrying
too much about the present, but, taken too far, as it often is, it produces
the cynical attitude of ‘Why bother at all about anything? Who cares?’