I'll admit my bias up front. I'll never buy another PC again. I have owned many PCs, and am required to use one at work every day. They all need constant restarting and updating, and clearly grew old and slow quickly with expanding bloatware in the OS. While both systems will need periodic software updates, the PC will need them a lot more often. Just to keep it safe and running.
I am running a 7 year old Mac, need to restart it only a couple of times per year for major software updates, and it never crashes. Ever. There is a reason that 5 year old Macs sell for well for several hundred $s on eBay. 5 year old PCs can be acquired for nothing. For good reason.
Can you make a PC sound as good as a Mac. Sure. Why? Buy a used Mac mini on eBay if you're wanting to set up a server and have a machine that will last another 10 years.
I bought a 4 year old Mac Mini on eBay for $365 as a dedicated server. It's spec'd the way I want. The OS software updates from Apple were free and easy to install. It's completely current and will outlast anything running windows.
I wouldn't be so anti PC if they actually worked well over time and lasted. They don't.
If you want a blazing fast gaming machine that will last a year, buy a tricked out PC. If you want a computer that is safe and reliable and will work for a decade (and still be worth something), buy a Mac, new or used, without fear.