A hopefull adequate comparison would be this: you are a technical lead of at a company, you get really really high pay and you have a lot of fellow engineers under your command. You get handed a legacy system, and there are all all kinds of problems with it:
1. The system uses a database that is not duplicated.
2. The system has no monitoring.
3. The web frontend is written in PHP.
What do you do?
To fix 1, duplicate the freaking database.
To fix 2, add some freaking monitoring.
3 is presumably the hardest to fix. But remember that you get really high pay and you have a lot of engineers. What did the engineers at Facebook do? They fixed PHP.
Do you blame the previous team that made this horrible system? No. No. No. You own the system now. There are valid engineering approaches to fix. So fix it. It can take a while, but eventually you can fix it. In the worst case, you will have to rewrite. But that's still a feasible thing to do.
Now substitute technical lead with VP.