>>12341731Do you yourself want to hear others tell you such things? Most talk like that comes off as cheap. People see through it and will roll their eyes and even resent you for trying to be "motivating" without "understanding their totally special and unique situation". Most often they just want you to acknowledge their issues and relate. That's all. If you can get a bit in their head and see what they actually mean behind what they complain about, that's pretty helpful too. They say "waa waa my life is bad in this and that way" and then you respond with "could it be you actually mean this or that?" and they're like "whoa! Maybe you're right! You know how I feel!" or if you're being a bit overconfident, you can say "you actually don't feel this, but are just hiding that you feel that instead!" or "you didn't understand that you were actually feeling this!"
In the end, people just want to feel like you're putting in actual effort to understand them. If you're not good at seeing through what they mean outright, just ask them questions about how they feel. They'll appreciate it way more than any motivational talk about success or others caring about them.