Ever had a problem that just needed to be let out of your system by talking to someone, but he or she, or someone else for that matter, just snaped at you and said, "You know, there are people out there who have it worse than you, so you better quit your bitchy whining!" That just irritates me to no end when this kind of thing happens.
Now, I'd like to give out some advice. If you are upset, and you listen to someone talk about his or her problem, even though you have it worse, GO TALK TO SOMEONE, or write in a journal or something. People talk about their problems because they need to let their problems fly out instead of bottling it in. When you bottle in your emotions, they will continue to get worse and worse until you finally snap, either leading to what I'm ranting about, or something worse!
Also, if someone says something like this to you while you are talking about a problem, either go somewhere else to talk to whoever you were talking to (if the person who did it wasn't the person you were talking to), or find someone else to talk to (if the person you were talking to did this. This is something important you need to do to avoid heartache, and that person needs to talk to someone). Everyone deserves to let it out of their system, or get advice on their problem. However, if you talk about your problems all the time (especially with the same person, and especially about petty things), then you might need to do something else other than talk.
There are exceptions to this that really need to be considered. The petty problems, such as: "My mom won't let me go out to the movies last night!" or "My posters are damaged!" or anything in the severity of those problems, those are not really problems you need to solve right away, so it would do a lot of good for you and yourself to not address those problems, as to not waste their time. I know that this paragraph conflicts with the others, but you will most likely agree with me on this :)
Summary: Whenever you have someone snap at you and say something along the lines of, "There are people out there that have it worse than you!", he or she is usually upset themselves, and need someone to talk to. When that happens, go somewhere else or find someone else to talk to. But, I hope that you are not talking about problems that are petty, like "My mom won't let me go out to the movies last night!" because that is a waste of time for people. I also hope that you don't talk about your problems all the time (especially with the same person, and with petty problems) for obvious reasons.