Most religious systems have a cosmogeny, a story about how and why the world was created.
The more localized the cosmogeny of a religion, the less relevant it will seem in the world system. Anthropogenies Theories about the creation of humans and how they should think of themselves. Sometimes the gods are bored and want to play in others, the story provides no clear reason about why they come into existence. Not everything always goes right in the process of creation, nor are the gods uniformly good or evil. Sometimes the creators are good, at other times a joker or trickster, who is amoral.