The “healthcare” system isn’t broken, it works perfectly.
You’re just mistaken about what its purpose is.
It’s one of the most beautiful examples of capitalism working as intended: When you’re hurting or dying, your demand for healthcare is unlimited, and you’re in no position to compare prices or services, so cost is determined by the maximum amount that can be squeezed out of you during your remaining lifetime.