"What the point of living long if you're going to be miserable"
and the person who said this is talking about eating healthily (saying the eating healthily=miserable)

since eating healthily makes you live longer.