but why do I have to spend so much time repairing stuff?
Two reasons:
(1) The bad guys keep writing more viruses.
(2) Windows runs on open platforms.
No two PCs in the world are the same. It is impossible to test any PC softare in all possible deployment scenarios, and from time to time things will go wrong, law of nature. If you don't like this then you have the choice of buy a closed proprietary system - if an operating system doesn't have to support third party hardware and doesn't really take supporting third party software desperately seriously then it's orders of magnitude easier to write and maintain. So maybe you want the original Mac.