I went to high-school adjacent to a neighborhood where civilization has pretty much collapsed.
At the time it was a rough-around-the-edges black neighborhood. I had many friends there who were from good families, and who went on to become successful human beings.
Within a couple of years of graduation they all started moving out of this neighborhood for the very same reasons you mentioned. There are now few people of good character remaining, and it is basically a shooting gallery.
In fairness the white-trash neighborhood about a mile further up the road is no better.
It’s a pattern being repeated around the globe.
The ease of transportation makes it easy to people to abandon bad areas.
It’a happening on a global scale, leaving whole countries in tatters and the productive people abandon it.