This just...You just poured salt in the wound. Depression doesn't care if your problems are petty or not. They still exist. Telling someone who's depressed that there are starving kids in Africa is the least productive thing you can do. When you feel a constant pain everyday from depression, every single problem is a huge weight on your shoulders that it becomes impossible to do anything. Honestly I'm surprised jubei can get up to work everyday. Props to him. Sure my problems don't compare to kids in Africa, but what matters is I'm facing them everyday through my eyes and I fight everyday of my life not to damn OD or hang myself in the bathroom.
Please do not tell people that "there are people who are in a worse situation than the one you're in". Please try to understand their perspective and what they're experiencing on a daily basis. Depression is a real medical condition, it's not a whole self pity stage at all.
Thanks classy