How could we be able to motivate ourselves when studying/working?

The key: our environment

How could we be able to motivate ourselves when studying/working?

It is difficult to enjoy our study/work time when we do everything for making attractive all the things that distract us, e.g. When we buy the last iPhone, or when we subscribe to the 4K option from Netflix.

If we make an effort choosing high quality gadgets/subs we know are not going to be useful for us in the long run, why can't we do the same with everything related to what will improve our lives and matter in the long run? Why do we complain when something related to this is expensive even when we spend that same amount just in one night hanging out?

Of course, this kind of questions are the ones that does not let us focus on what matters the most: that the best way of motivating ourselves to do what we have to, is to make more comfortable the environment between us. For instance, we should not hesitate too much when it comes to buy a good desk, chair or monitor for working/studying.