You might give this book a read, it illustrates much about the origins of religions.
In case you don't know, religions were invented by old men that wanted to impregnate gullible women.
This is why the earliest gods were fertility gods.
Still works today.