Wait. What does Capitalism have to do with democracy? Some Capitalist countries, especially the richest ones, are democratic, but democracy is by no means a required part of the Capitalist economic system.
A better statement might be to say that central planning of economies doesn't work. While central planning is a typical feature of Communism, they aren't always the same thing.