It's not just about the jobs. There are enormous economies of scale to living in cities. Distances travelled are shorter, stores do higher turnover(meaning fewer of them per capita), and multi-family housing is cheaper to heat & maintain to name a few. Urbanization is one of the most tested ways of making people richer.
The problem historically has been the distribution of that additional wealth. It's common to see cycles of increasing rent seeking, followed by de-urbanization/migration, and then a gradual return to cities.