You need to enjoy your life. Otherwise what is the point? If buying the thing helps you accomplish that and it's not going to ruin your ability to acquire the basics, why not?
I guess the one pitfall to avoid is trying to evaluate if you ACTUALLY want it. Is this actually satisfying some desire beyond random consumption? Could you fulfill that desire more cheaply or for free? If you do get it, are you going to use it or are you going to forget about it and move on to another thing to fill the void?
I go back and forth on having either end of this problem. Sometimes I will spend somewhat recklessly to try to overcome boredom but the things I get don't really do that and then I end up spending more to keep trying to fix a problem that clearly isn't getting solved by what I'm doing. Other times I will get so unwilling to try or commit to new things that I stop myself from getting anything even though something might make me happier.
Also, your enjoyment of things isn't static over time. For example, when I was a kid, getting a new piece of technology, a phone, a new computer, a tablet, a console, etc. was super exciting. It was shiny and new. It opened up all of these new possibilities to me and I had fun both with the things I could do with it but also just fiddling around with the tech. Now? I get a brand spanking new computer or phone or whatever and... it just feels normal. Sure it might be faster, but I can more or less do the same things I used to do. I'm sort of just getting it to maintain what I already had. So now I'm not as quick to go get the new shiny thing. I pretty much hold on to what I have until it's borderline unusable.