I worked with someone for 6 years. He was there before me. I really like him. Present tense, we still keep in contact. We occasionally went out together. We know things about each other that no one else does. I just wrote a program for him.
And then my boss told me he was probably going to be fired in about 3 weeks.
And that he should have not told me.
And if I told him, then we would both be fired, along with my boss for telling me. And I couldn't go petition to keep him, since that would show my boss' boss that I knew, which would then cause my boss to be fired since he was not supposed to tell me.
So I stuffed it down. And I went to lunch with him almost everyday from then on. I tried to guide him into enough REALLY good behaviour that might cause people to change their mind. He wasn't that bad, but he wasn't that good. He was smart, undisciplined, and an occasional time waster.
He wasn't in my department, so it was not like I could pick up his workload. And I don't know that I would, since that is a valid reason you fire people, when they won't do their work (assuming reasonable amount of it).
One time coming back from lunch he mentioned he was considering getting a new car. His was a bit older. I told him he couldn't afford it. He responded that he made plenty of money. His last department transfer gave him 15% raise. I argued against the car, making something up about expensive family stuff coming up. He didn't get it.
He called me right after they fired him. He asked if I was busy changing his password. Not my area anymore.