Someone age 2 or 6 or 12 or 17 or 23 generally has a better time in the city: more freedom, more things to do within walking/transit distance, less time wasted on car transportation, more people of all ages and interests to engage with.
The density of cities can support a higher density of parks, playgrounds, plazas, markets, museums, libraries, schools, art galleries, music venues, coffeeshops, restaurants, ice cream stores, churches, community centers, ...., which means these can all be easily accessed on foot.
In typical American suburbs everything is dispersed and there are oceans of concrete standing between any two points, so walking around is unpleasant and impractical. People who walk around are viewed with suspicion, and children walking around alone are often reported to the police. In many suburbs, almost nobody rides a bike or takes the bus. Instead, nearly all trips are taken by car, which adds a ton of time overhead to every trip and makes anyone without car dependent on someone else.
And most of those other benefits you cited you cited would have been practically useless to me as a kid because I had hardly any desposable income.