what is the purpose of ancient myths