Answer :
The literary device used is personification
This is achieved by representing an a quality or concept by a figure in human form.
This is achieved by representing an a quality or concept by a figure in human form.