The literary device that the author used in the passage is hyperbole. A hyperbole is a figure of speech that uses extreme overstatement or exaggeration to have a humorous, ironic, or heightened dramatic effects.
Example: I am so hungry I could eat an elephant.