I like the “Milk & Honey” book!
Imma try to help you with this answer
Answer:
Personification is a type of figure of speech that gives objects and animals human characteristics.
Assuming that you're talking about the myth of Greek Gods, the purpose of the myth is for an Explanation of natural Phenomena. For example if sailors in that era were trapped in a massive storm in the middle of the sea, they will say something like : "we've angered the Poseidon"