David must prioritize, he must think through the pros and cons of each: buying a pizza or going to the movies, in order to determine which one will bring the most pleasure to him in the short term and in the long term. This is a very personal decision, and depends on David's thoughts and needs at the moment, but in general, the best advice is to see the bigger picture to find out what activity is most convenient at the moment.