Similar to¬†Occam’s razor, Hanlon’s Razor is usually stated as:

“Never attribute to malice that which can be adequately explained by stupidity.”