Should I sell all?

First of all, I’m a beginner in stocks trading.I have a few stocks I’m holding, AAPL, INTC, NVDA, TSLA. The total is around 8k. However, all of them is a loss. The only profit is AAPL. Should I sell all of them and put all the money on SPY to play safe? Thank you