Unfortunately, it's not that simple. North Korea is under incredible sanctions, and South Korea's embracing of the free market is considered to be an economic miracle made possible only by multiple headwinds, and some solid good luck.
China can hardly be called a free market, by the way.