There are more unicorns than middle-class families in urban areas with more than 2 children. Whereas in suburbs larger families are both plausible and not uncommon.
This won't show up in your tax revenues when children are in school or college, but the 25-year-old yuppie GDP powerhouses who then move downtown will indeed make up their tax revenue.
Hint -- think about the really good (US-born) software engineers in SF you know. How many grew up in dense urban areas? Barely any, I'm willing to bet. Most are from the middle-class 'burbs, and didn't go to decrepit urban schools.
Maybe someday US cities will be effective at raising families, but it's not today. And ignoring this contribution to future tax revenue is an existential mistake.