Just a literary device known as hyperbole.
More accurately, it was a logical fallacy known as the false analogy.