Not only that, but empty spaces attract bad things. Bustle and foot traffic are good things. This is one reason why it is nice to have a mix of commercial storefronts (banks, cafes, etc), especially things that are open in the evenings...it ensures a commercial area that doesnt turn into a ghosttown at night.
Growing up in Brooklyn in the 80s, I remember snaking across busy side streets and back-and-forth across the main street to walk along the well-occupied areas. Stumble into a dark corner or and you could get jumped.
Much of her writing is age-old and not directly relevant now, but the concepts life on. All these are well argued in Jane Jacobs' https://en.wikipedia.org/wiki/The_Death_and_Life_of_Great_Am...