"Whoever works his land will have plenty of bread, but he who follows worthless pursuits lacks sense." ESV
The example of a farmer working for food is one that translates easily across most cultures. I understand that when someone works hard to raise a crop they can eat what they grow. I have watched my wife plant strawberries with plans for eating them. It doesn’t stop at the planting, though. She gives them good soil and puts them in a basket where they will be out of reach of animals. She makes sure that they have enough sunlight and waters them frequently, and when they are fully grown we eat them (fortunately for me she shares.) She has a clear goal and works towards it through logical steps, and in the end, we enjoy the fruits of her labor. Were my wife to indulge in Mario Kart all the time we would never have strawberries. Not that there is anything wrong with her taking some time to relax and do something that she enjoys, but if that is all she did it would be senseless and have no worth.
Of course, having a goal and working towards it applies to far more than strawberries and there are many worthless pursuits besides video games. Those who work to find wisdom will gain it, and those who chase pleasure after pleasure have no sense.