Comparing Brazil with Mexico with Madrid with Tokyo and coming to the conclusion that "is all the same" seems farfetched.
Policies that see "the poor" as the problem instead "poverty" create violent dystopian cities. Good policy works and make big cities great places to live. Reducing inequality, giving good safety nets to citizens, treating drug addiction as a disease, etc. make a difference. Not 100% of big cities are the same.
Not big cities across the world.
Off-topic: I really need to add more context to my replies without considering the parent comment, it's not the first time that caused confusion.
https://g1.globo.com/sp/sao-paulo/noticia/2023/07/20/anuario...
https://en.wikipedia.org/wiki/List_of_cities_by_homicide_rat...