Legacy systems are not only old software left by someone else. Many teams create their own legacy after a fast launch. The product still works, but...
There’s no foolproof way to insulate your company from potential hardships, you can maintain relevance by focusing on the problems your products or services solve.