Had a brand new of each at my job. So a fair comparison.
Mac beat the pc in hardware and software. But the mac’s HD died after 3 yrs. But it never locked up. The pc would lock up almost weekly.
Your Mac didn't die, the HD did. Stick a new one in and your good to go again. And if you had used a second HD and made a bootable clone and updated frequently it is easy to transfer the entire system to your new HD that I assume as HD1. My Mac has 4 internal drives with two cloned bootable as backup. Almost never had any failure. Only problem is unless you copy your emails and bookmarks to a flash drive you would loose current emails from time of crash to current date.