Earlier quoted context omitted.
No, markets are a great way of finding what makes the most money for those who build the stores. That may be "the best" solution that is also aligned with the interests of the people who live there, but it might not be.
Central planning has been a colossal failure both in terms of the economy at large, and in terms of urban planning. If someone can make money by building a store, that's great, what's wrong with it? Zoning should be about keeping truly noxious activities away from residential areas, not about keeping a corner store away from where people could possibly walk to it.
There can be plenty of things wrong with it. I don't subscribe to the idea that whatever makes money is instantly the best thing.
And I never said that I want to keep corner stores away from where people could walk to it. I said that leaving everything up to the "free market" doesn't always yield the best solution for everyone. It only yields the most profitable solution for those with the money.