I think if you were to ask me this question in 2015-2018 I would say yes.
There was a time where it could've been a possibility, El Capitan, Sierra and High Sierra kind of put MacOS in a funk, not to say they were bad updates, but they didn't bring anything noteworthy (besides Siri) and were forgettable updates. I had a joke with my friends at the time which was "#MakeMacOSGreatAgain".
Now in recent years however that is a different story, with the release of Mojave, Catalina and soon Big Sur, Apple has shown to take a new interest in macOS and really putting effort into these releases. Big Sur is a really exciting one for me so in my opinion, no I don't think macOS is going anywhere anytime soon, I think in the next few years we're going to see a "renaissance" if you will on macOS.