Personification is when you assign the qualities of a person to something that isn't human, or something the isn't even alive.
The attribution of human characteristics to things.
The run down house appeared depressed.
The first rays of morning tiptoed through the meadow.
She did not realize that opportunity was knocking at her door.
Time flew and before we knew it, it was time for me to go home.