I guess that makes all the famines directly caused by communism worth it
Mao and Stalin were dictators. While Stalin, for example, did create an economic miracle, rapidly industrializing and transforming Russia into an economic superpower, his interests laid not with the people. As dictators tend to do, he reaped the benefits of his economic miracle for himself and his elites exclusively, leaving his people in conditions hardly better than they were under the monarchy.
Sounds an awful lot like capitalism, if you think about it.