Compare that to a game like Magic: the Gathering where the rules have evolved greatly since its inception but every card in the game is still playable (barring some exceptions) and you can play a deck using only 1994 cards against a deck made of only 2023 cards and the game accommodate both. (Balance issues notwithstanding).
I am going to guess that you're actually incorrect here.
If I went to my basement, pulled out the cards I haven't touched for... 20 years?..., and made a deck, and took it to my FLGS, I likely would not be able to play worth a good goshed darn because I wouldn't know enough about what my opponents were capable of doing. I could not make informed choices, and could not make sound plays as a result.
While my old cards might technically still function, my play is more than my cards. To play reasonably in the modern context, I would still need to become aware of that modern context.
My question is if that is in-fact a good thing? Does D&D need a clean slate ever-so-often to reset the board and introduce new ideas and build things from the ground up, or would it be better if there was a way to keep the rules from older editions usable so that every few years, we aren't repeating the Manual of the Planes or the Psionics Handbook or Big Book of Scary Dragons again?
So, while others have spoken to the economics (which, are much different from those of a CCG like MtG), there's more going on in D&D edition changes than just economics.
Magic the Gathering has the benefit that the play space for the game is extremely limited. The game continues to work with minimal architectural changes in large part for that reason - the basic goals of play are focused, and remain unchanged, since the first cards were printed.
The same is not true for D&D. The play space for the game is large - it might even be called "unlimited". And with no effective limits to that space, and the goals of play, comes the fact that we are constantly learning new approaches to the space and goals. And that does lead to considering fundamental architectural changes as time goes on.