whoever dies with the most toys wins

Whoever dies with the most toys wins is an idiom which refers to the fact that the person with the most toys in the end, such as in dying, will win. It is actually not a literal phrase meaning that someone who dies with a lot of things, wins some type of game; but a way to insist you dont need a lot of things because when you die none of your material possessions will matter anyway.