What people here are missing is, "learning stuff" appears vacuous to children when society doesn't really put any value on said stuff.
The most abhorrent thing is mathematicians themselves not being able to state clearly what the value of their work to society is supposed to be exactly.
That's NOT "mathematics is useless", it's people honestly don't know why it's indispensable.
Just look at the nonsense ideas of "AI replaces all math and CS researchers/experts/etc". People really don't get why that would have catastrophic consequences for society.
I still think this logic is deeply mistaken. Taxes are indispensable for the functioning of modern society, but this doesn't make learning taxes and the tax codes magically interesting. Taxes are boring because they are numbers and math (incredibly simple, admittedly), and numbers and math are just boring for most people. It being important really doesn't change that IMO.
EDIT: And this also glosses over the IQ issue and that real math, is, well, really, really hard for most people.