Personification means describing a thing as if it were a person
"Life's but a walking shadow, a poor player That struts and frets his hour upon the stage And then is heard no more." Act 5, Scene 5
1. Here, Macbeth personifies life, comparing it to a "walking shadow" and an actor, whose influence is limited to his time on stage. This shows that Macbeth thinks that life is brief and pointless.
"the earth Was feverous and did shake" Act 2, Scene 3
2. Here, the earth is personified as a person with a fever to show that Duncan's death was unnatural