Never attribute to malice that which can be adequately explained by stupidity.
Hanlon's razor is an adage or rule of thumb that states:
Never attribute to malice that which is adequately explained by stupidity.
It is a philosophical razor that suggests a way of eliminating unlikely explanations for human behavior. Wikipedia