If you consider the risk from the perspective of war, then the fund is definitely not your investment choice, because the investment expectation of the fund is the steadily rising economy and dividend income.
If you are afraid of war, you can choose to invest in gold. Of course, if the investment channel is only paper gold, even if gold rises, it will rise slower than the stock market (fund).
If you are not afraid, you can buy a fund and change it into gold when the risk is high.