For the cost of the average computer running MacOS, one could buy a TV, a console, a desktop Windows computer, and a laptop. Or whatever it may be. ($1500 on an iMac could be $400 console, $500 TV, $500 computer. Or whatever your break down is. For the lower middle class and working class, trying to 'gear up' their family and make their kids happy and be happy with their home, this is real math they have to do).
While it is true that for those who are wealthy or who can justify the cost, the experience is very nice and justifiable, the cold hard facts of living in the western world is that most people would need to spend irresponsibly to use MacOS regularly.
It is what it is but it's no surprise that the cheapest mass market OS has 90% market share, and anyone who thinks that "UX" is the reason instead of cost doesn't understand the industry fundamentally.