Id made games to demo their engine. No one is going to buy an engine without any games. They don’t even sell idTech anymore. It’s used for their games which are not making any money. No game sales doesn’t support the reasoning they should keep the engine around.
Except that the obvious reason their recent games see lackluster sales is because they're on Gamepass, which precludes needing to buy the game to play it.