HDD>NVME>Sata SSD
I'm talking reliability and lifespan here, I've had multiple sata SSDs fail on me and it's a catastrophic failure that implies loss of data, classic HDDs can and will eventually fail but it's never as bad, there are signs and you can usually recover the data before it goes fubar. I still have my RPG maker games I made almost 20 years ago, had I transferred them to an SSD they would likely be gone. M2 drives are hit or miss but NEVER EVER cheap out on them, Samsung shit is more expensive but it has never failed me, be USB drives, external drives, Sata SSDs, or M2 drives. Corsair, PNY, Kangstone are all dogshit and should be avoided at all cost despite being popular options on Amazon.
Also here's a tip, if you have a sata SSD that's dying but not quite dead, open up your PC case, unplug the sata data cable but leave power, turn on your PC and let it run for 30-1hr, modern drives have a built in self repair feature, if afterwards your drive works you can use it normally, you slightly shortened the lifespan but it's not gonna have an impact unless your drive is very old.