Frankly, my computer has not had a virus in years. It has been on the web, it has downloaded stuff from dubious websites, it has installed stuff. But no viruses.
That is not to say that there is no malware any more, but the infection vectors have changed. More often than not, malware will be explicitly installed by the user. More broadly, it will trick the user into doing something that is not in his best interest.
In other words: In the current age, malware is targeting users, not computers. Now we have to install virus scanners, by educating ourselves about how to spot viruses. This is a very different game from a few years ago!