To be clear, there are all manner of reasons why the schools for a poorer population often need to spend more money per student than an upper middle class suburb. At the same time, as you suggest, the best money can probably do is to bring students and the school as a whole closer to parity. It's not surprising that many people who can afford to do so opt out of urban public school systems one way or another.