'Class' is not the correct word to use in this instance.
Posters like you demonstrate a point perfectly. You don't hate men; you just hate. I have no more time for it.
OP, just raise your boys the same way you would raise girls. Teach them to be polite, kind and understanding.
For instance, we actually never had to teach our sons to walk their female friends home from the pub if it was late, or the girl had had too much to drink. They always did so of their own accord. Sometimes this would mean they were late home but they would always do that, and still do.
My youngest son ran into his ex girlfriend recently on a night out and walked her home, to the other end of town to our house.
Posters will always put the same boring lines and statistics on here on repeat but remember all the amazing men who work in jobs that save lives every single day. There are far more very good men out there than evil ones. There are plenty of evil women around ruining people's lives every day in WhatsApp groups and at school - but that's okay because they are girls and women.
The only person in my sons friendship groups who was ever rude to me was a teenage girl. My son immediately told her to apologise to me and distanced himself from her thereafter.
But, here I am falling into the man haters trap of 'men are worse, no women are and this is why.' It goes round on repeat in circles and is just so pointless.
You don't actually hear any of this man hate nonsense in real life.