Looking at absolute funding is a bit simplistic in this instance. The problem OP is pointing towards is that some schools are disproportionately bad. In an unequal society where distribution is racially biased, an education system might be superbly funded, while still leaving several district underfunded, yielding the racial bias OP was taking about.