France spent ~5% of its GDP on education. 5th in the EU in spending.
France is in the top 20% of the world in terms of resources and probably around the middle of the OECD.
When I went to school we had classes of 35 students. Often in the heat with no air conditioning. And we didn't go riot, burn city halls, loot stores etc. We didn't mask up and go throw rocks at the police either.
Whatever is going on in France, thinking about it as "students protesting for better schools" doesn't feel correct at all. You see organized groups of masked protesters attacking the police, looting etc. Are there a lot of people who think they're out there for some supposed good cause? Sure.