He could have taken on outsourcing as a side-project, outsourced a major portion of his job successfully, demonstrated it to higher ups transparently, and landed a better role as an outsourcing specialist.
Instead, he secretly outsourced his entire job and pretended to actually do the work himself so he could get paid to do nothing.
The company fired him because he didn't operate in a way that was good for the company, only in a way that benefited him personally.
People like him don't belong in management, they belong in jobs that don't require any trust, because they aren't trustworthy people.