Compare the UK vs. US [0]: life expectancy is higher in the UK _and_ expenditure is lower. As much as people love to dunk on the NHS, population-level optimization works.
[0] - https://ourworldindata.org/grapher/life-expectancy-vs-health...
[0] - https://ourworldindata.org/grapher/life-expectancy-vs-health...
There are a million factors that go into life expectancy other than just the healthcare system.