I can't believe you blame students for bad schools.
How good a school is - which we can expand into more detailed definitions like "how much do children learn there?", "how much does any individual kid like or hate it?", "is this a good use of a child's time?" - is dominated by what the other kids they are in a shared social setting are like, and not by how expensive the facilities are or how well the teachers are paid.