Back when gender meant something in English, the word God was masculine and would take the masculine pronoun. The word that gave us MnE woman was also masculine but I don't know whether they used the masculine pronoun for it.