I started going back to school online and many of the things that I am learning are useless imo. I learn more on one hour of watching YouTube videos than I do studying mundane things. In my parents generation, they needed school to be successful.
Primary school is absolutely important. I would say up to 11 / 12 / A-levels, Intermediate whatever it is called in your country.
Unless you are going for some very specific stream like being a Doctor or Engineer that requires specialization and rigorous learning and exams, I wouldn't say it is too important.
Also, another important question remains, are you in a job and want to get a promotion later on? If you are a 9 - 5 job holder then you will need further schooling to excel further in your work later on.
I was doing Engineering and I had to drop out from my 3rd year because of some serious issues with my health. I couldn't continue. So on paper, I am just educated till A-levels. However, last week I made more than 4X the per capita income of my country. I learned all of those skills from YouTube, courses, books, friends, forums, experiments, and so on.
I am not against 9 - 5 nor against the education system. I have never had a 9 - 5 job in my life yet. However, I have seen people with a 9-5 work and I admire that work ethic. I'm lazy af. My goal for 2023 is to get a 9 - 5 job for fun and get enrolled in a degree. lol
Don't quit school though. Enjoy your life. You'll meet some really cool people whom you can later start your business with and much more.