For anything more recent than an i386 processor, there's a Linux solution that'll deliver a useable computer. A guide.
https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
'Reviving old hardware with Linux is not just possible. It is practical, sustainable, and often results in a machine that feels faster than it did when it was new. The key is matching the distro to your hardware tier, optimizing RAM usage with zram and service trimming, and being honest about when hardware has reached its limit.'

