Every single Macintosh computer I have from the 80s, 90s, or 00s that I didn't sell when I upgraded (or that I bought used cheap later when they were obsolete) still works.
my PowerBookG3 ...
... back to the early 2000s, Apple had established that you could install MacOS from v10.1 to 10.3 but not 10.4!
And this was not a limitation of the hardware or anything.
I asked a friend to lend me the PowerBook G4, with which I installed MacOS 10.4 on a 2.5" pATA disk connected to the USB port.
Then I mounted that disk inside the PowerBookG3 and ... to my great surprise, MacOS 10.4 worked very well on a laptop for which the installer had blocked saying "
your hardware is too old, I cannot continue with the installation"
what?
The exact same thing happens with Apple Silicon And even worse.
It happens with programs like FinalCut, which strictly need a version of MacOS ...
The problem is ... with the new Apple { MacMini, MacStudio, ... } you cannot remove the SSD and use the trick I described above.
The mobo is tied to the serial number of an SSD ...
So if you work professionally and need to work with updated versions of sw for MacOS, expect to have to replace your Mac every 4 years.