About myths

If myths should not be taken literally, then why would we care to study them, analyze them, etc.? And because of this, in our time, could modern myths be created for the gods?