Yeah, I think this “advice” is context dependent, such as for dealing with toxic family or employers or during an existential crisis.
I’m obligated to be, at the very least, “good enough” for the children I bring into the world. And I strive to be good to and for the people around me, because I prefer to be around people who would do the same for me. “Fuck ‘em” as an attitude at a societal level will make the world mediocre.