Since Judaism, Christianity and Islam all read, literally, from the same book, it's all based on pre dark age thinking.  That's not the point - orthodox in all those religions cover  their heads in reverence to god.  Obeying men is obeying god in all the orthodox versions of those religions.