As you sort-of implicitly suggest, it doesn't have to be a choice between a soulless suburb with no sidewalks and a piss-soaked urban hellscape-- with NOTHING in-between.
What we do need, however, is more urban centers with walkable, complete streets, human amenities and a broad mix of different housing types for a wide spectrum income levels and NOT separate isolated enclaves for the wealthy and the poor. Especially important are appropriate and truly useable "third-places" rather just bauble shops for the wealthy, dollar stores for the poor, and distant megamalls for the middle-class surrounded an ocean of asphalt.