Earlier quoted context omitted.
The solution to that is to abolish or neuter your insurance companies like the us in the rest of the world did. The fact that a private for-profit company decides if you live or die is absurd.
Last I checked, medical and life insurance is a thing everywhere else in the world as well. While a public healthcare system will pay for your treatment, it will not pay for the loss of earnings/business during your stay in the hospital and convalescence, nor will it pay you if you end up with a permanent disability (social security may cover a pittance of the latter).
I can't speak for other countries in Europe. But in Switzerland you have mandatory coverage from your employer.
The employer will pay your salary for a certain amount of time. After that insurance will kick in and pay (usually) 80% for up to a couple of years.
After that invalidity insurance kicks in. That's usually about 60% of your salary until retirement. You can buy added coverage to raise those percentages.
Bankrupcy for medical reasons is pretty much unheard of herearound.