>Markets also cannot account for externalities. If those externalities are something you care about (e.g. the environment you live in) - you need regulation.
Markets account for externalities via ownership and torts. This was gutted in the 1800s in the US where a judge ruled people couldn't sue for the impact of environmental pollution, in the name of the "greater good" of industrialization.