He's a twenty-something kid who thinks he's smarter than management.  His error is in thinking that Google is trying to increase diversity by lowering hiring standards for women, which reveals his own sexist bias.  

So Google confronted his sexism and eliminated him.  What's the problem with that?