Depends on where you went to public school. My southern Bay Area public schools consisted almost exclusively of well off students because of housing prices.
Sounds like an extreme outlier, areas with such concentrated wealth which has crowded out the working class and lower-middle class are rare, most students will never attend a school like that.
It’s an outlier, but not really an extreme one: I don’t think my school differs significantly from the several dozen that are present in gentrified neighborhoods across the state.