Marx was too idealistic. He didn’t account for what happens when you put people into power of this “dicatorship of the proletariat”. Most people who get into power are not going to willingly give up power. You’ll end up with self-proclaimed communist countries that are either stuck in this transition phase indefinitely, or end up abandoning it in favor of state capitalism.