Sure, you can use science for evil things, like you could use a hammer to hit somebody on the head and a car to run somebody over. The problem here is not hammers and cars. If Damore were challenged on scientific grounds and refuted as such, it'd be fine (tbh, many people did exactly that and stopped there, and they were doing it right). But he was chased out as a heretic, not as someone who wrote scientific paper that was less than solid. He was chased out because him questioning this particular dogma is incompatible with being employed at this place, and because the culture we have now does not allow Google to be perceived as tolerating heretics.