Over $18 trillion was wiped out of global stock markets in 2022.