Well, my HP Compaq 6510b is still humming along in windows 10. I can't say it's fast, but since I upgraded to an SSD, it's fine even with its max memory of 4GB. Now, I don't use that computer that much anymore, it is getting slow, but it's not due to anything other than age. It was released before june 2007 as Notebook Review wrote a review then and stated that HP offered the model, not that it was releasing it. 11 years and still running latest and greatest, even with it's original battery giving at least 1,5 hour of runtime.
Now, I don't really require that from Apple, it's rather silly, but they should really, really get with the program and have a clear timeline for their OSes and hardware. OK, every year, we move the line forward to be able to make new fantastic features. We promise to deliver security updates to the last 5 OSes (at least!).
Or, they could say that when you buy an Apple computer, you will receive security updates for the next 10 years. They might come as major new versions, or security updates.
I also find it hilarious that a battery replacement for a pretty new iPhone is rather cheap, whereas replacing the battery on a fairly new MacBook is crazy expensive, even taking the size of the battery into account. They have made it totally clear that a MacBook is actually more of a disposable unit than their phones.
In the iPhone, the battery can be replaced as a separate part, rather easily. In the 2017 MacBook Pro, the entire topcase has to be discarded when the battery has to be replaced. That will be prohibitively expensive and makes it perfectly clear that the MacBook-line of computers are more of a disposable unit than Apples pride and joy, the iPhone.