One could argue that it is the profit motive that drives the costs of healthcare up for when there is money to be made then decisions get based on maximizing earnings and not providing the most sensible healthcare. Heart by-pass surgery is a good example. There is little evidence that it prolongs your life while there is much evidence that changing your diet and lifestyle does. There is even evidence that artheroslcerosis can be reversed with proper supplements but there is no money to be made in these treatments so the medical establishment ignores and tries to discredit them instead.
That describes what happens in the unfree government controlled doctoring business.
There are 2 categories of people that doctors have difficulty making money out of: healthy people and dead people. So in an unfree market (where competition from alternative ideas is illegal or discouraged), the most profitable deal for doctors is to have people live as long as possible but in a state of bad health. Then what doctors do is essentially torture people (with cut, poison, burn) until they run out of money. It is important to get all their money before they die. If government pays for it, that's even better. The correct dose of a drug is the dose that makes the most money; too high and the patient dies (no more profit); too low and the patient recovers (no more profit). That's in an unfree market.
But in a free market, it's a different deal. In a free market, doctors are in the business of putting themselves out of business. They are in the business of helping people to get well and to stay well. And the doctor who is the most effective in putting himself out of business (helping people to get well and to stay well) is the doctor who gets the most business. And any doctor who is not in the the business of putting himself out of business (not in the business of helping people to get well and to stay well) won't get any business and will be put out of business. In a free market, a doctor won't be able to stay in business unless he is doing his best to put himself out of business, in competition against other doctors who are doing the same. This process continued, eventually there would be little business for doctors and few doctors and little need for doctors and they would have competitive prices and we wouldn't be talking about the high cost of health care.
I will give a little example to illustrate the difference between a doctor in an unfree market and a doctor in a free market (even tho he was not actually in a free market). A man in France had polyps in his nose. He had them removed by surgery. They grew back. He had them removed again by surgery. They grew back again. He had them removed by surgery 18 times. They grew back 18 times. At this point he figured enough is enough, and enough is too much, and too much is enough. So he crossed the Atlantic Ocean and went to the legendary Dr. Herbert Shelton in Texas. Dr. Shelton explained -why- the polyps were growing back. The causes were removed. The polyps disappeared on their own without surgery and without treatment of any kind. The Frenchman was so grateful that he arranged a special meeting with Dr. Shelton to thank him. Dr. Vetrano acted as a translator because Shelton didn't understand French and the Frenchman didn't understand English. During the meeting, the Frenchman shook Shelton's hand several times and demonstrated several times how easily he could breathe thru his nose and he promised that everyone in France would hear of Dr. Shelton.
For the surgeon, the most profitable course of action was to do as many surgeries as possible and to hell with the root causes. Shelton acted like a free market doctor (and consequently got in trouble with the law many times) and tried to put himself out of business. Shelton did not get any repeat business from the Frenchman. In a free market, all doctors would be like Shelton and some would be better than Shelton and they would be competing to do the best job of getting people well and to stay well and at the lowest price.