Berkshire Hathaway stock generally lagged the S&P 500 index since late 2017, but managed to handily outperform the benchmark index in 2022. It lagged again in 2023 after giving up some spring and summer gains.