Non profits (WMF) grant money to programs that directly or indirectly affect the content of all products offered by the WMF. It’s not just Wikipedia. There are grants that goto volunteers to increase editorship/authorship of non English Wikipedia or in countries and culture where Wikipedia does not have as many articles.
Calling this culture wars and simply saying “the money doesn’t goto hosting” is low complexity thinking that fails to account for all the things the foundation does.