What about maintaining the codebases that got written 25 years ago? Those still exist and needs care to stay operational. Sometimes there’s no point rewriting to the next trendy language, although it can be obligatory, if it’s impossible for the company to find skilled workers, because everybody moved to a different language ecosystem.