The idea that the principal function of a myth is to provide a justification for a ritual was adopted without any great attempt to make a case for it. At the beginning of the 20th century, many scholars thought of myths in their earliest forms as accounts of social customs and values.