Apple give their OS and a lot of their software away for nothing. The reason being they are a hardware company and can afford to give it away as the stuff to run it on is rather expensive.
Apple are not a hardware company. They are an integrated product company. They design something and then tell an engineer to go and make it. When Apple built the iPod it should have been relatively easy for Sony, who pretty much controlled the music industry with both content and players in the Walkman, to come out with something similar. They couldn't because they were organised in divisions. Apple have a single P&L and each section does not need to make a profit, as long as the whole thing makes a profit. The hardware and the software being made by the same company means that it will usually work and if it doesn't then only one party needs to fix it.
If you buy a PC then the hardware, operating system, applications, content and even the shops they they are sold in all have to make a profit, so quality is a compromise and there is no guarantee that they work together.
As for the stuff to run on it being expensive.
The operating system is free, and an upgrade from any operating system on most machines made after 2007 is also free. Compare that to Windows XP, 7, 8, 8.1. The operating system is also the full version, not a home version. (Companies who bought Windows Server 8.1 have just been told it's not going to be supported and you have like 90 days to migrate your enterprise. Fortunately most never went there.)
The backup system, raw conversion, virus protection if you want it is also free.
Pages, Numbers, Keynote (Word, Excel, Powerpoint like) and a whole pile of other apps like iMovie, iPhoto, Garageband etc are also free.
The most expensive applications I own are from Adobe and Microsoft.
I guess that makes me a fanboy, but one who has been in the IT industry for 40 year and used a PC 8 hours a day since DOS 6.1
Anyway, as I said, it's a personal preference so please do whatever you want, and I'll do the same