Condemning communism because some socialist societies haven't lived up to the ideal is like praising capitalism because a handful of capitalist societies have done an adequate job of providing a decent standard of living for the majority of their citizens. Neither changes the rightness and wrongness of the idea.