It's one thing to say it when you're the one struggling, but when someone tells you that your problems "could be worse", it's one of the least encouraging and most dismissive platitudes along with "first world problems".
If someone is opening up to you about what is going on in their life