Let me put it this way. Why do humans continue to do all sorts of obviously stupid counterproductive things, at large and small scales? We know that reproducing so many of us is stupid. We know that eating so much fat, sugar and salt is stupid. We know that overheating the atmosphere is stupid. We know that destroying biodiversity, overfishing to the point of extinction, trashing the forests we need to breathe etc etc etc are all stupid, clearly self destructive behaviors at any level from abstract ethics to species survival. But we come with a bunch of hard wired root goals (like "yum, candy" and "babies are cute" and "seek power") that can't be switched off and are incredibly hard to reason with, and their consequences are already an existential threat. And that's just with dumb, slow-moving humans.