Inflation adjusted S&P500 below Jan 1st, 2020 level

Sep 27, 2022 3,689.22 Jan 1, 2022 4,818.21 Jan 1, 2021 4,295.40 Jan 1, 2020 3,763.63

My mental model had high stock markets driving a lot of inflation. Is that not the case?

link