I just recycled my old Dell PC that I bought in 2000 running Windows XP. It was still working, but just painfully slow compared to my current PC. The build on them was better back then compared to today. I never spent any money on repairs.
I have one same year with XP. Bought a new one with windows 10 and have been stripping off the old one. It’s headed for Best Buy soon. RIP. I’d still be using t but many websites would not work with my version of Internet explorer and it could not upgrade. It was only a matter of time.