Sometimes staying healthy causes living longer