What we can learn from the performance of the S&P 500 in the first part of 2019 and 2022 to date