Which type of figurative language is used in the last line of the excerpt?

The type of figurative language used in the last line of the excerpt is a simile.