Stupidity does not square with omniscience and omnipotence, though, unless one desperately needs it to. It would explain a hell of a lot, but you will notice how very little of the scripture goes "god, this god dude is such a stupe, but we're just rolling with it for reasons"
Besides, Hanlon's razor gets sorta short circuited by Occam's, which would seem to take a dim view of an entire bible's worth of waffling to explain suffering, war, famine, kids and good people dying horrifically from cancer, natural disasters etc etc etc