Yes but they don't constantly stab their users with ads, forced changes, removing features and functions, broken updates, and all the other realities that is an OS that has been abandoned as far as any real power user is concerned. I used to really like Windows, but since Windows 8 and Server 2012 (a.k.a. Server Tablet edition) it has been going down the crapper. It is clear all M$FT cares about is control and money. Apple isn't a fantastic company by any means, but they aren't ticking us off in the same way.
Furthermore, Apple silicon has brought their system performance up and their prices down. Now you can get a good Apple computer for cheaper than some crappy to moderate PC.
I would prefer to use Linux overall, or even a Unix based OS like Nomad... but Linux still requires some fiddling and doing things in terminal for some more advanced functions. MacOS in general just works, and all the apps generally just work as well - things just seem to work better than on Windows. I don't have to spend time dicking with MacOS like I do Windows, or even Linux. So for general everyday use it is the least frustrating I think.
As for years of support, 7 years is pretty decent... and even still you can still keep using the OS and generally not experience issues. I used a 2010 Macbook up until 2023 and the only reason I got a newer one was I was getting annoying with the lack of speed.