Good advise, not getting involved in anything not "core" to the business.
The problem is, sometimes that still doesn't help. I was employed by a company that was based almost purely on analytics. They hoovered information about their targeted area (yeah, I'm being intentionally vague), repackaged it and had their in-house 'analytic engines' massage the stuff before reselling it.
They were/are big sellers to government, business, and the press. Then some PHB got the smart idea of outsourcing their IT stuff to another company (who shall also remain nameless). Now, the only actual product of this company was the data itself. They had no manufacturing or similar operations. I would have thought that the IT stuff was in fact their 'core business', and to this day would argue the same.
Anyway, rather than saving anything at all, they merely instituted yet another layer of unaccountability. I most specifically do not call it any form of actual "accountability", as all it has done is elevated finger pointing and buck passing to an art form. Even though many of the former IT workers for the company were essentially 'sold' to the outsourced company, there was still a huge drain of institutional knowledge in all IT areas. My particular support group essentially evaporated within about 3 months of my leaving.
The people who took over our former responsibilities were almost entirely 'offshore assets', who had zero knowledge of the how/why of the environments. To the best of my knowledge, no actual money has been 'saved' by this outsourcing decision, and all it has essentially done is make the company that much slower to do anything because instead of having one level of bureaucracy to deal with, you now have two, and each of those two levels have conflicting missions. The vendor just wants to keep costs as low as possible, while the business just wants to get things done. Add to that, the fact that prior to this massive divestiture, you had groups with quite a bit of institutional knowledge in its area of responsibility, and these groups and the individuals within them took ownership of the areas they supported. Now, there is no institutional knowledge, and no ownership. People work on everything up to the various bright lines that demarcate what is "theirs" and what is "ours", and doesn't take initiative to actually try to figure out what is "best".
Over all, I'd say it's been a complete waste of time, money and effort. The company is still hobbling along on pre-existing momentum, but there is a big vacuum out there that someone else will eventually fill.
while I'm here ranting, I'd like to ask if anyone has ever actually seen one of these big IT deals like this that actually worked and made sense? I've seen a lot of weird goings on, over the past 40 years in different companies, and I can honestly say that sometimes I'm absolutely astounded that most of them have managed to stay in business. (The only one with a real clue didn't, because it was so well run that it was bought out by a criminal enterprise that was willing to leverage itself into oblivion to keep it's pozi scheme running.)