It's been true for me since I bought my first Mac in 2007. Never had a virus. Got some crappy malware but that's only because my kids (or myself) let it in. Never anything I couldn't get rid of, even if it was a slight PITA.
That qualifies you as an expert on computer viruses?
I’ve been using windows even longer. I never had a virus even though many more were created for it due to the install base. But I guess that means it’s completely safe for everyone by your logic.