Origin of Mythology
Mythology had its origin in the superstitions of primitive man, to whom the gods were forces of Nature improperly understood, and to whom Light and Darkness would appeal as beneficent or malignant forces according to how they affected his personal comfort.
The uncontrollable nature and effects of these in the absence of more modern conditions would naturally tend toward belief in Fatalism and Destiny, which eventuated in mythological expression.