Healthcare is an inelastic market. People will pay wathever the cost of a product is, because it is literally a matter of life or death. Ask yourself why your country provides the least cost-efficient system of healthcare in the West, when it is arguably the most liberal of them all.
Most healthcare is not that life and death. A few years ago I needed surgery - it was scheduled for 2 months later (originally 1 month but then the surgeon got COVID so rescheduled), if I had any incentive to I could have found plenty of other surgeons in different hospitals who could have done the same surgery - but I have no incentive to.
My in-laws lived near the Mexico border (until they died) and their church around the country regularly sent members to them when someone poor needed surgery to arrange with a much cheaper hospital in Mexico to take care of them. Mexico doesn't have the same standards as the US (or didn't 30 years ago), but it isn't hard to figure out which doctors are just as good as anyone else in the US if you research.