People struggling to pay for basic needs such as food, housing, and medical care face a sharply higher risk of death.