I don't know about this. I have found a few places with great bosses/owners that deserved my loyalty. They proved it by investing in the team, making hard choices to cut their salary rather than lay people off, and in general being loyal first.
When you find a place like this, I advise hanging around for a while.
I agree with this. However, the flip side is, a great company can get bought out by a horrible one. A great boss who appreciates the good stuff you did might leave for a another job. (though maybe you can follow them). Things can change quickly. Public sector is different. Its far more long-term. Which is great. Although, OTOH things that are wrong with it remain the same for a long time. Ironically, the reverse is true. I know someone that worked for a company that was horrible and he thought about leaving, then it got bought out by a decent one.
No one I know, besides him, has job loyalty. Not the senior dev in Seattle making 400k, not the dog trainer, not the chef, not even my parents. And younger generations are just more and more cynical about it.
As they should be.