I do agree, except...
"He’s going to remember that the books he wanted to read, about explorers and adventurers were never in the library and if they were, how the librarian sneered at his interest. "
Sometimes those books are in the library, and the librarian didn't sneer (not saying this never happens but most librarians are often very enthusiastic for kids to read anything really. Especially boys). I am a woman but I could convince myself as a teen that no-one loved me and I was all alone just walking home at night in winter as I passed all the brightly lit windows. It is a teen thing to feel like that and enjoy feeling like that at times - BUT boys and girls also face genuine problems/injustices as well. So unpicking what's real and what isn't actually justified is complicated. I saw one of those youtube clips with my son and he was like "yeah, why don't we have activities for boys" and I had to point out that he went to a (boys only they have a seperate one for girls) football group every week put on by volunteers. And that there is a big football field near us floodlit every evening so him and his friends can play even when it gets dark. And there are frequently people there putting on events etc. If he was shy/stayed indoors more as a kid he probably wouldn't even be aware of it. As it is - he took it for granted the same way that I am sure girls also take things created for them for granted.
So, its how do you balance listening to teenagers, and understanding genuine grievance with not feeding to an unjustified sense that the world hates them in a way that is unhealthy? They are vulnerable to grifters in the same way "trans kids" are (that's another debate but I think Andrew Tate and the likes of Jeffrey Marsh are not so different.)