the type of figure of speech has been used in these lines is personofication
i hope this helps you out
8.3m questions
10.9m answers