I thought this post would recommend Batocera, which I think is probably the better option: https://batocera.org/
It's a Linux distro that turns any ancient machine into a retro emulation box that's heavily optimized for old devices and retro handhelds. It also allows you to install Flatpaks so you can add Steam to it as well. If you just want to play games and don't need to use the actual desktop, it'll be a nicer experience.