Yeah just ignore the fact that those countries are sanctioned and essentially under siege. They're in a state of war due to being encircled by the United States and its allies. You also ignore that it took centuries before capitalism replaced chattel slavery and feudalism. It didn't happen overnight or even in one century. Following your faulty reasoning, capitalism doesn't work.
Moreover, capitalism gets bailed out every few years by socialism. Public funds save the day for capitalism one boom and bust cycle after another. Without socialism, conditions would be so dismal that social unrest would lead to a revolution, and that would be the end of capitalism and capitalists. It's public, government funds that maintain capitalism running. Socialism for the rich, is what allows capitalism to survive.