Old computers which used to run Windows XP, 7 and 10 can often be revitalised by installing a version of Linux, as described here
There are lots of options for 64 bit computers, but fewer for 32 bit machines which still have security updates.
These two websites have suggestions:
https://itsfoss.com/32-bit-linux-distributions/ https://www.makeuseof.com/linux-distros-with-32-bit-support/