I understand your statement about money spent on sports and not educational materials. Our educational system is a great one but just changing the allocation of money will not solve the problems it has. Today politicians feel that putting more money into education will help the system improve and to some extent I agree. Money has not or will not solve all our educational system problems.
Another point to make is that there are usually grade level requirements for students to be eligible to even play sports. This I believe is a side benefit of having a sports program. Another point to make is that attendance at sports events brings in money that schools could use to provide some of the things you have mentioned. It is money they would otherwise not have had.
We have a great educational system in place in our country but adjustments need to be made in the way our system is evaluated. Each student in our school system has different needs and the results for them as individuals is what needs to be evaluated.
While standard tests results are sometimes helpful in evaluating the success or failure of a school system they should not be the only criteria. Each school and the students who attend it have different needs and situations. These need to be considered when evaluating the success or failure of a school.