Leaving it purely up to the market doesn't create an effective resource distribution either. It creates a profitable resource distribution for those in charge of the capital. Sometimes that might correspond with an effective resource distribution for society, but many times doesn't.