The reverse is also true:

Any sufficiently advanced stupidity is indistinguishable from malice.