@syntax invest in a good Samsung SD card. My retropie/kodi is working non-stop for years, not even one issue. With Kingston, I've got all kinds of funny business.
Also no extensive read/write to the filesystem. Torrent client on my RPi killed my Kingston SD card (even when it buffered 60MB chunks in RAM before dropping it on the SD Card)
@vol
I read that one of the best things to do is disable swap. Did you do that? I seem to remember my SD is a decent SanDisk one with ~64GB storage, but I never disabled swap etc. I won't know the state of it till o run a proper fsck on my primary machine later. Either way I'm going to ditch Raspberry Pi OS and try minimal Debian on external HDD.