The meaning of this sentence is: life is uncertain and full of infinite possibilities. The original sentence is: Life was like a box of chocolate, you never know what you are gonna get.
This is a line from the movie Forrest Gump, which was told to Forrest Gump by his mother. Forrest Gump in the movie has a slight intellectual disability, so growing up his mom always used apt analogies to tell him something about life.
The phrase compares life to chocolate, which is meant to say that life is still tasty, and those who like chocolate will inevitably embrace its various flavors. Just like life, no matter good times or bad times, as long as you have a heart that loves life, you will be able to realize the meaning of life, accept what life has to offer, learn from it, and face the next unknown with more confidence.
The plot of Forrest Gump
The movie is adapted from the novel of the same name published in 1986 by American author Winston Glum, depicting the inspirational story of Forrest Gump, a small town boy who was born mentally handicapped and was able to make his way through life to the end of his life and was favored by God for his "stupidity". The story of Forrest Gump, a small-town boy with mental retardation. After the movie was released, it won six Oscars in 1995, including Best Picture, Best Actor and Best Director.
On September 5, 2014, on the 20th anniversary of the film's release, the IMAX version of Forrest Gump began opening in theaters across the United States.