Why Did Communism Fail?

Communism is based on the idea that everyone work to the maximum of their ability and accept the minimum from a collective whole for their particular need. It tends to fail because most people have trouble working hard in a system based on honor and not pay.