Macs are great for when you need reliability and a rock solid system without having the linux know how.
Unless you are a gamer, I don't see ANY advantage in having a PC. There is nothing a PC offers that a mac cannot do outside of gaming.
Another very important thing is most people do not build their own computer, and preloaded Dells and other brands are absolute trash. Preloaded with garbage and processes you don't need. Anyone who wanted performance would have to reformat before even using the PC they bought.
I have both a Mac Pro tower and a PC I built myself.
For photos, video editing, storage and homework the mac owns. It is easy, intuitive, rock solid, and many of the programs are a joy to use.
My pc is noticeably faster, but it is also 3 years newer, is overclocked like a champ, has 12 fans and a heatsink the size of the moon on the CPU.
If you are not computer literate, and I mean you do not know how to solve problems yourself, cannot build a computer yourself, cannot reformat, have no idea what a bios is etc etc, you should buy a MAC. The premium is well worth the peace of mind and functionality. No viruses, no issues, no crashing, hassle free experiences FTW
If you are comfortable with computer parts and know how to turn windows from garbage into a usable OS, you should build a PC and use it. Even if you know this and do not game, you should go for a mac.