Depression linked to chronic illness and lower quality of life