The basis of absolutely all, not only ancient, myths and legends became famous historical identities, extraordinary real events. These could be outstanding rulers and kings, storms, hurricanes, sweatshops, volcanic eruptions and the like. Also, the myths often laid the desire for people to explain incomprehensible phenomena. So, for example, there were stories about the creation of the world. Often the basis of mythology became the legends of other peoples. So, the Greeks used Sumerian, Eastern, Mesopotamian and other sources.
One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.