>I recommended learning how to separate your value from your employer.

Not just that: separate it from your career. Ensure that you and others would still value yourself even if you weren't receiving top decile income for an easy job. A misanthropic software developer is begrudgingly useful; a plain misanthrope isn't even mediocre.

Good clarification. I know this separation is difficult especially when the career funds the other parts of life and the employer or title you hold is seen as prestigious.