All of my old PS-1 games on 25-30 year old CD-Rs work fine. You’d be lucky to get 10 years from an HDD. I start losing disks in my RAID 5 arrays at about 6 years, and if you are unlucky it could be under 3. I have a 10 year old USB stick (oldest one I haven’t lost yet) that has started failing. So CDs are looking pretty good long term. Would just be a pain to back them all up again, but you might only really have to repeat that once for a lifetime of use.
True, but I am talking about CD-Rs, as per above. I assume you know what those are.