It's pretty obvious that creating an explicit profit motive makes things worse. This isn't a hypothetical, people in US pay far more for healthcare per capita than people in countries where there is socialized healthcare.
Doctors' wages have been decreasing when inflation is factored in just like all other workers, despite the skyrocketing costs of health care. Guess who pockets the difference.