I think it's not stupidity (nor the Dunning Kruger Effect) that leads mankind astray; it's groupthink, in any shape or form. When you blind yourself to whether you and your allies do more harm than good, in service of some abstract ideal or philosophy, you fail.