The public schools do deserve blame for putting all the under privileged kids together. The charters deserve credit for allowing them to separate themselves. I don't think that's intrinsic to public schooling, it's just the circumstance we are in.
Now you're ascribing a specific cause and moralizing, assuming that it's harder for some subset of students because they want to fail, and that they deserve to fail. The utilitarian calculus does matter, you feel fine dooming some set of kids to a poor education because you think they deserve it.
No child deserves a poor education. We do have to choose who we prioritize and I don't really think your analysis of who "deserves" more help is sound.
Education isn’t hard or expensive. Providing therapy for years of trauma and neglect is. Trying to focus on algebra when your home life is totally whack is hard. Otherwise what’s the cost of education.. chalk and plastic chairs?
Valuing public welfare is great, but so are the virtues that promote healthy families. Education is done by parents and there’s lots of adults with children who aren’t parents. Personal responsibility is a concept that will actually enrage otherwise intelligent people
How much good does it do a violent and disruptive student to have a quiet and studious one in the same classroom?
On the other hand, it's obvious how much bad such hey disruptive student does to all of the other children.
And you are in fact crediting the charter school with the benefit while ensuring that public schools receive blame for any harm that results.
I think you're actually arguing against universal instruction, that we shouldn't educate all students. Which we could do in public schools also! But you're not suggesting that at all.