Cities are walkable by design (most built before there were cars at all) and you can clearly correlate quality/quantity of public transport with quality of live.
More money ends up in regional projects/maintenance of public goods instead of either going into private billionaires pockets (trickle down!!…) and/or military industrial complex.
Specifically China: high coverage of CCTV and effective police forces. Like it or not, but even young women feel save going alone through a big city at night.
Specifically Japan: society is very collectivistic and people go out of their way to not even disturb others. People even carry their trash in their pocket instead of throwing it on the streets.
Specifically Europe: the richer you are, the higher the chances you live close to a city centre, villages/suburbs are for poor people/families/weirdos.