I know that I could have purchased 4+ Windows laptops for the price of my MacBook. I know that they would have been faster and have more ports and "features". In fact, I used to hold the same opinion as you do and went through 5 windows laptops before I switched to macs. Then I realized all of those specs are complete bullshit when you have to clear your machine of malware when you buy it, it weighs 10lbs, the hinges break after a year of use, and it's as thick as 4 windows laptops (I kid, sort of...) and the keyboard feels like shit (except my thinkpad, that keyboard was awesome), and anytime you have to reinstall Windows you have to spend time installing drivers for the webcam and fingerprint sensor and all of those awesome features.
Once I switched to mac I began to focus more on the work I do, and less on the machine I use to do it. Plus, I sold my 3 year old MacBook Air for ~70% of it's value, whereas my brother was barely able to sell his 2 year old xps 15z (which is NOT a cheap laptop) for ~40% of it's value.
Another thing I have noticed is that many Windows laptops have their own strengths, ThinkPads have great keyboards and are indestructible but are pretty thick, not very stylish, and still quite expensive. The Asus Zenbook has great build quality and looks very stylish, but is also expensive, has a finicky trackpad, not the best keyboard, and still has some bullshit software that comes preinstalled (although it is better than most Windows machines in this regard). That's what I love about my MacBook, sure it's expensive, but it has amazing build quality, it's plenty fast for 99% of my needs, has an amazing screen, no malware when you buy it, the best trackpad in the industry, keyboard is as good as the ThinkPad (in some ways better, in some worse), the warranty is unmatchable, and the resale value is also the best in the industry. These are the things that matter to me now.