He's been dying of the same heart attack for twenty years.
Bad code is truly like cancer. People start building on it and irresponsibly adding it as a dependency, and eventually, removing it is like chopping off an enormous tumor. It's an operation so severe that a lot of companies won't live through it.