Answer:
Analogy
Step-by-step explanation:
It compares life to a race which is why it's an Analogy. It's the same thing for the line in Forest Gump where he says, "Life is like a box of chocolates. You never know what you're gonna get." Both Analogies. Hope this helps u! :)