That might be the case for God that didn't reveal Himself, like the monotheistic Aristotelian God. I don't know if Aristotle gave Him masculine pronouns. What I do know is if you are a part of an Abrahamic religion, God has revealed Himself to be masculine.