You are grossly mischaracterizing the word "purpose". The purpose is to educate.
Yet the flaws in the system are quite real, and you have called some of them out. But calling out the flaws and claiming they are the intended purpose is quite simply wrong.
BTW, you can change who is in control - school boards are locally elected. Your vote has more power to change schools than almost anything else. If you want improvement, get involved.