The hospitals that are the nicest and the cheapest are the ones that are physician owned. They have no ER so they get no emergent things and only schedule things that are payable. It's an example that if everyone has a payer care is better and cheaper. The need to cover the uninsured is a drain on the system.
The need to cover the uninsured is a drain, but the problem is much bigger than that. Almost everybody who seeks medical care in the United States is doing it through a third party payer with seemingly unlimited resources, so nobody shops around and nobody who's actually making healthcare decisions cares about costs. Accordingly, there are rent seekers and little scams, hustles, and gougings built in everywhere. None of it is crooked, but it's a bunch of crap that wouldn't be there if people had to pay directly. It's a lot like government procurement and contracting.