This snippet graph via Goldman Sachs, where they try to tease out the influences moving stocks:

Goldman Sachs sp500 fall 2022

This other graph from GS does a better job IMO:

Goldman Sachs sp500 yields