Generally speaking, the errors in religion are dangerous; those in philosophy only ridiculous.”
Marxism, a philosophy, was quite deadly.
Errors in science are learning opportunities, and therefore eventually get corrected.
The eugenics movement, based on the accepted science of the day, caused a lot of suffering. Bloodletting, based on the accepted science of the day, caused a lot of suffering. The Tuskegee Syphillis experiment, an attempt to further science of the day, caused a lot of suffering. On and on it can go.
The defense of the sentiments in the sig line generally devolve into some form of special pleading, no true Scotsman fallacy, or outright denial. The real problem is that any idea can be used by people for any evil end, whether the source of those ideas is in science, religion, or philosophy. Any idea can be dangerous because people can be pretty crappy to each other and ideas provide a convenient excuse to commit evil acts.