I’ve had plenty of discussions with people on how they plan to move from starter homes to homes in more affluent areas so their kids can mingle with richer kids and go to their schools.
It might not need to, as long as median income does. The saying of “it’s not what you know, it’s who you know” and “you are the company you keep” rings very true in my experience. Just being around the kids of successful parents should help in opening more doors.