For those, especially younger, who may wonder at this insensitive comment, it's the punchline of a very old joke, traditional in certain circles, where someone complains about their totally horrific job/conditions, gets asked "So why don't you quit?" and, yeah.