Mac OS is not that superior in comparison to Linux, because all the programs that I use are available in Linux.
IntelliJ, Chrome, Slack, Google Docs, Office 365, YouTube, Google Maps, Gmail and occasionally gimp.
I don’t use Apple software even in the Mac. Apple’s strength is not software, but hardware+software integration.
In software and cloud, google and microsoft are far superior to Apple. As more software moves to cloud, the dependency on a particular OS reduces.
Apple still has the best trackpad, really nice keyboard and good battery life. But competitors are not far behind. I think Apple is losing its leadership position in Laptops.