I mean, the US public markets is about 49% of the worlds market so it is not like there aren't other options. Divesting doesn't mean moving everything out and pension funds also invest in non-public markets.
https://www.visualcapitalist.com/124-trillion-global-stock-m...