https://www.statista.com/statistics/306693/us-per-pupil-public-school-expenditure-by-state
The State of New York spends $26,571 per year for each public school student.
The average teacher salary in NY is $68,288 and the average class size is 24.4 students.
So the average school collects $648,332 per classroom, of which 10% goes to the teacher. Where does the rest go?
For comparison, the cost per student in China is $500-$1000, with 30-50 students per class in primary school. Students in China have higher standardized scores than the USA.
Furthermore, there is NO correlation between spending by state and scores. DC has one of the highest costs ($23K) but is ranked 49th in test scores.