Fully disagree here. I could list a hundred egregious examples where this isn't true for major aspects of life, but it's late and I'm tired of arguing on the internet. Perhaps tomorrow I'll respond with examples.
Just replace democracy with capitalism and government with market.
They optimize for what they want, not what they need, which is a big difference. They would probably align with public good if it was the latter. Also, they optimize for what people who have money want.
Participants want comfort (which we can't blame them for) and are not incentivized to solve poverty.
Not saying that capitalism did not bring good stuff (won't state it neither), but part of the current result is global warming, pollution and the existence of people living in bad conditions.
Global warming is rather mostly a consequence of overpopulation. In the past, people often died of starvation or illnesses. "Unluckily" capitalism managed to reduce these problems by a lot.
> and the existence of people living in bad conditions.
In most communist countries, the living conditions were worse, so this is rather again a success story of capitalism.
The regulatory mechanism is what and from whom the participants are willing to purchase.