My response to this approach has always been the middle finger. If someone can't afford me even the minimal level of respect, I'll leave. My worth is not dependent upon what other people think.
Even your example is riddled with condescension, with your judgment from on high that your friend's job is "crummy". It's not only disrespectful; it betrays an unsavory vanity on your part.
Either that or they're being manipulative, which is also a big red flag.