Men aren't truly valued. Men's labour is what's valued.
If you look at the history of parents (particularly in certain countries/regions in the world) preferring baby boys over baby girls, the dominant narrative that's circulated seems to be quite biased. Parents in those countries tend to prefer those baby boys because those baby boys are gonna make a mighty fine workhorse. They'll go out and face pressure to earn the lion's share of the family's income (to be used by the family ofc). They'll usually be the ones expected to do the most dangerous and physically taxing tasks. Women will work too but as someone who's done work outside and done domestic work, with all due respect, one tends to be a lot more harsh than the other.
I think this is ultimately a comment on how imposing gender expectations hurts everyone. It hurts the baby girls obviously and it hurts the boys/men because they'll carry so many of the toughest burdens and, for doing so, experience the pleasure of being called an oppressor or privileged asshole because he was pressured into filling a pre-assigned role that so often isn't exactly fun for him either.