Still have a G5 from 2006 , runs windows fine .PC’s of that era take a week just to turn on.
Never had a virus or breakdown in 20 years of owning macs, can’t say that of the pc’s that have been in the home they all failed after a couple of years .
Your G5 only runs windows because of, erm, Microsoft and not because Apple want you to be able to use it.
I have only owned my own computers since 2005. I have never had any malware in that time. I used to provide IT support to home users. I encountered malware on both linux and windows machines, never a virus though. Until recently none of my customers owned macs. I am however aware that hundreds of thousands of Mac owners were infected by the drive by version of FlashBack. Oracle gave MS and Apple details of a Java flaw. MS patched it. Apple couldn't be bothered. Black hats reverse engineered the MS fix to identify the Java flaw. They then attacked servers that they knew that Mac owners would visit. All the victim had to do was visit a hacked site to become infected, they didn't need to click on anything else.
Apple eventually released a patch, at the same time they cleaned infected Macs without ever letting the owner that they had been infected. You say that you have never had a "virus", how would you know though?
It is true that prior to the rise of smartphones, the biggest target vector was windows, but Apples have only been relatively safer because of security through
obscurity. Clever marketing aside, Apple devices are as vulnerable as linux or windows machines.