I was planning on hanging on to my Win10 PC, which was perfectly fine except that Microsoft were both pestering me to upgrade and telling me it wasn't possible, but the death of its SSD after 7 years put paid to that.
I have a PC that is probably at least 10 years old but works perfectly well for browsing, spreadsheets and the occasional lightweight game but MS has decided, in its infinite wisdom, to say that it can't be upgraded to Windows 11.
So I will probably install Linux (probably Debian) and move on and forget about those particular games... (~30 years since I first installed Linux on a PC!).
I've got a computer that I built in 2008 and upgraded in 2012. It's pretty solid for higher-requirement games up until about 2015, and can still handle lower-requirement indie stuff today.
I built its successor in 2020, using a GPU from 2017. The longevity of the PS4 has given that thing serious legs, and I haven't seen the need to upgrade yet. It still runs what I want to run. It's also the first post-DOS x86/64 machine I've owned that has never had Windows installed.