I only want to be respectful to others. If you need to take time off of a project you're working on or just need to take time off in general, then you do that. Prioritise yourself over your work, friends.
Whenever someone vents to me, I find myself thinking that I'll never be able to help them, that I'll just make things worse. But being a sort of outlet for them to tell you their troubles is mostly enough.
As long as you show support to them, then you're doing good
GREETINGS, HUMANS! I HAVE A MESSAGE FOR ALL OF YOU:
LIFE IS LIKE A PUZZLE, AND IT'S GOT A REALLY CONVOLUTED SOLUTION THAT NOBODY CAN FIGURE OUT.
AND I WANT TO LET YOU KNOW IF YOU EVER INTEND ON GIVING UP, YOU SHOULDN'T! BECAUSE YOU NEVER GIVE UP ON A PUZZLE...
SO KEEP GOING!