In my opinion, if it bothers you that someone else bought what you had or better, especially if it is a high end item and they are a beginner, then you are just as competitive as they are. Guns are guns, and many are better than others for certain applications. All the guns I own were bought because I viewed them as the best for the application I wanted them to serve, and if someone asked me that application I would direct them to get the same.
Now, if you are the type to get annoyed by someone who is just starting out buying a $2000 AR to one up you or something of the similar, and they constantly mention how theirs is better, remember that golden ammunition for verbal combat they are giving you. All you need to say is "Wow, your gun costs twice as mine and your shooting half as well as me!" or "Maybe if you went with something more simple you may have learned the fundamentals better." I can almost guarantee they will never brag again until they beat you. And then you have an excuse, and in some situations it may be a just one, of why they are shooting better than you.