Around the turn of the XX century, many struggling economies today were on par with middling countries in Europe.
Think Czech, Finland, Hungary, Polen, Japan. Brazil, Mexico, etc., were competitive with them back then, but now, the latter are seen as basket cases of mismanagement. And empire and colonialism didn't give even Japan aby advantage till the 30s, arguably one could say that sapped their vigor. On the other hand LatAm had become independent from Iberian powers while inheriting a system of government (not the best but arguably better than monarchies), yet with the exceptions of Chile and Uruguay, the rest have underperformed.