Of course that a stock market crash and a big recession/depression will negatively affect the Bitcoin price.
Bitcoin reached historically high prices in times of very low interest rates, when the financial markets were flooded with newly printed money by the Federal Reserve and the other central banks. The times of "easy money" and low interest rates are gone(for a while) and this leads to multiple companies going bankrupt and to prices of financial assets going down.
We might be witnessing a stock market crash in 2024, but the Federal Reserve will have to stop it by discontinuing the interest rate hikes and start "saving the economy" by pumping more newly printed money into the financial markets.
"For a while" is the key here, in my opinion. Times of low interest rates will be here again, and not once, and at least those times we can expect new all time highs, but not only during those times. The fourth Bitcoin halving is coming. This can incentivize people to buy BTC while it's relatively cheap. Should we believe that Bitcoin will never be over $60k again? I don't think so. We'd been there when BTC reached $1, then $100, then $1,200, then $20k ... Each time skeptics were saying that Bitcoin was grossly overpriced, and yet we all know what happened some time after that.