In Chinese culture, there's a big thing about your true friends being the ones who will tell you when you're wrong. A coworker, on the other hand, is not your responsibility, it's their life they're screwing up.
Of course, that doesn't mean people like it.
Personally, I will eventually give advice to people if they're venting. I'll make it polite, of course. If they don't want to fix their shit, then I'm not obliged to listen to it.