Corporations are brutal. They use you and spit you out. You should have the same attitude towards them.
I have no idea how anyone expects loyalty form a company. It's not the 1970s.
It's like people who think the HR lady is nice. I remember having to tell my coworkers off for being friendly with her, bitch is there to turn humans into a resource. Sure enough a few months later she royalty screws over the owner of the company's son(good friend).
Your employer is the enemy in which you're in a cold war stalemate. The goal is to jump ship at the right time and get a job with a competitor so you can skullfuck your ex boss. At any job I find the people who work on loyalty and honor and then treat the rest as canon fodder. I have people who've I worked with where we fundamentally dislike each other but we have a real bond of trust and professionalism, we know we'd help eachother get jobs, cover for eachother etc even if we never want to be in the same room together. In contrast some of my favorite people to hang with I want to see thrown under a bus, due to their lack of loyalty.
If I sound bitter I'm ironically not, I have a system I'm incredibly passionate about and it works.
What I can't stand is people getting fooled by the same old tricks over and over again. Save save save, never trust an employer, any job is a temp job. If a job is super safe and stable it's a good sign it's a zombie company with no opportunity to advance.