It's true for software that's completely standalone, a virtual island. But very little useful software qualifies. Most software interacts with other components, whether hardware, operating systems, external formats, etc., and when those change over time, the software effectively becomes worse, even though it's technically the same as it was before.