I mean, just as a counter-note: I utterly hated every second of a multitude of subjects, and indeed now I am 37 and I never needed them and was entirely correct about what I would require later.
This is also part of my point, e.g. having learned Italian for years was exhausting and mostly pointless when I did it, and nowadays I can somewhat understand it whenever I am in Italy, which is maybe every two years. Was that worth it for the level of skill I gained: probably not.
But I wouldn't be able to tell if some of the mental agility I have today (beyond languages) could be attributed to the fact that I was exposed to this language which differs from my first languages in multiple ways. The lessons you may take away from any given subject is not necessarily limited to its raw content.
This is a quite known topic in educational sciences, e.g. when answering the question why it still makes sense to teach kids how to do maths without a calculator in an age where you have it always in your pocket — that is because it (A) forms an intuition about mathematical correctness and (B) logical and numerical thinking gets trained as an side effect.
Ofc all of that doesn't happen when you are unlucky enough to have had bad teachers, but that wasn't the argument.
Personally I loved history, social science and geography, but none of that has been useful in working life. Being good at mathematics is prerequisite for nearly all well-paying jobs, humanities are not of much use except for being able to write and read well.
Remember that school isn't only about acquiring skills to leverage your lifetime earnings. Education is about understanding and learning the world as a whole. So understanding humanities history the land that we live in and everything else under the sun is important.
Imagine that all we were was measured by the salary that we make and not humans and human civilization. Might as well just hand over our lives to the robots now.