Pain, few gains for investors as markets slumped in 2022