It is expensive, there's no way around that.
But personally, I prefer the Apple OS to Windows (possibly because I'm used to it..) and because I work on my computer all the time, I need something that I will really enjoy using.
Not only that, but my first MacBook Pro I got in 2011. I replaced it in 2015 for an Air, but only because the pro was a bit heavy to lug round with me. The 2011 one has had a battery replacement (but worked fine off charger if that doesn't matter to you) in 2017 but my partner's son now has it and it works fine. My 2015 Air can run off battery for 4 hours still, and is nice and fast 5 years down the line.
So yes, you might be paying double (or even triple at times) what you might pay for a different machine, but they last so long if you take care of them that I think it evens out because you don't have to replace them.
If you're the kind of person who replaces because they want a change rather than because it needs replacing, though, they it might be a bit expensive.
Even so, I've NEVER been able to find a Windows laptop that lasts for 12+ hours like my Air did when it was new.