Sirach 30:17

17 Death is better than a bitter life, and eternal rest is better than chronic illness.