I was part of a well performing team in a corporation in the US. Management told us that we've been making a real impact in the company's goals and they are going to increase our capacity to accomplish even more the next year by adding several more engineers in India to help us with tasks. The facade was well maintained - we got expanded goals for the next year, celebratory meeting for exceeding expectations etc. but you could clearly tell something was off in meetings with management. Little did we know that we ended up training our replacements.
Majority of my teammates got kicked out of the company by security, getting paperwork on their way out without a chance to even say goodbye. I was offered a role in another team, but the trust by that point was severed so much that I instead decided to take severance and leave as well.
The lesson for me has been to always act like an independent contractor or business owner, even when employed by a corporation or "family-like" startup. Based on mine and many of my friends' experiences there's no such thing as loyalty in the business setting anymore. You are on your own and you should only engage as much as it makes sense to you. Extra hours beyond what's required (e.g. beyond 40hrs) should directly and clearly benefit you.