I agree that even or sometimes especially in urban cities, if you live on the wrong side of the gap, it's really not a fun life. I went to my capital myself in my teens and it was a pretty big culture shock. No swanky neighbourhoods, renting spaces on the floor and not rooms, sharing with 20 other people and using communal taps and bathrooms.
But there, at least there was access to better your life and escape the cycle, is what I'm saying. You talk of a time when Kings didn't have computers. I talk of a time when most of the world will live and die without the opportunity to read or write, much less touch a computer.
But there is a mentality at play here for sure. You can't break out without the right one.
It is always hard when some migrates to another city to find education or new job. I made the journey myself, so I can understand how difficult it can be. But the beauty of this is that your children will not face the same issues that you have faced. You are already settled down in the capital city, so your children's don't need to move to another city to find job. In all probability you are having a good job and your own house, so the kids don't have to worry about accommodation and other aspects. That is how life goes on in modern world.
hard work is required when migrating to another city in search of a living. In addition to working hard and getting results, they should try to manage expenses to have a better tomorrow. but the good thing that can be learned is usually they are a formidable figure if they succeed in that new city, where the psychology is mature