Only to a degree. For example, a nation without decent lawyers or engineers could never become wealthy. Or, in other words, a nation of 100% illiterate people won't be as wealthy as a nation of 100% PhD, which shows that education is about more than just relative position within the population.