Japan did the same. And its colonies (Taiwan, Korea) became similar sucesses inheriting the institutions and infrastructure.