God didn’t create religions, men did.
Men created and continue to set the rules governing behavior and practices dictated by a religious order, sect or organized religion.
What I learned about my own religion is that the Ten Commandments or the laws that God commanded that the Hebrews (or Israelites) were to follow were written by Moses on tablets of stone directly from the word of God on Mt Sinai. God, though a spirit is revealed to Moses in the male form or if you believe the scriptures God created man in his image.
The Torah and Jewish laws were written by men. The originals were passed down through history from person to person and it wasn’t written down till the Hebrews were exiled to Babylon after the Kingdom of Judea was conquered by the Babylonians.