Keeping Wikipedia alive isn't difficult on the tech side. Like, the software needs a bit of maintenance and the occasional rebrush, but that's it.
The problem is the community. Wikipedia's survival depends on editors and administrators, both of which are in short supply - which has been an issue for way too long. I remember it from back when I was still at school, so way over a decade ago, that there was a huge issue with the Croatian Wikipedia basically having been taken over by far-right nationalist ideology on everything related to history, and other Balkan Wikipedias suffering from the same fate of nationalism, not made easier by people argumenting that there shouldn't be a distinct Wikipedia as it is a widespread belief that Croatian and Serbian are the same language - but no Croat will ever learn to read and write Cyrillic unless he has to (vice versa is a bit better because most Serbs will learn English and with it the Latin alphabet).
Therefore, Wikimedia has no alternative but to (massively) invest in outreach, because the less active editors there are the higher the chance of entire communities being lost to ethnic squabbles or plain fraud (IIRC there used to be a case of someone making up entire articles in a faked Germanic? dialect).
[1]: https://slate.com/technology/2020/09/scots-wikipedia-languag...