You are referencing a pernicious myth - a classic selection bias. For the majority of illnesses we don’t know whether someone is near the end of their life or not. We all “know” that people tend to have expensive care just before they die, but the selection bias occurs because we ignore the counterfactual where people have expensive care and then go on to live for many years afterwards. Edit: A study found “most people who die aren’t expected to, and many people who are expected to die don’t. In particular, less than 10 percent of those who die within 12 months had a predicted mortality above 50 percent. And if beneficiaries are ranked by their predicted mortality, the group with a high chance of dying accounted for only 5 percent of total Medicare spending, and among them about half survived in any case, perhaps in part due to the health care they received. As the study's authors conclude, ‘These findings suggest that a focus on end-of-life spending is not, by itself, a useful way to identify wasteful spending.’” https://archive.ph/gUzzO
Also “total spending on end-of-life care is only 9 percent of the total cost of health care”. Chronic condition are where costs lie.
And US healthcare costs have not really risen: https://randomcriticalanalysis.com/why-conventional-wisdom-o...