I thought antivirus software existed merely to deal with flaws in Windows...
While I understand that Windows' past does make it a convenient target for such remarks, most "viruses" now are not really viruses, but malware that either exploit holes in (mostly) third-party software, or goes after a human factor. Stricter security practices from Vista onwards (UAC, low-privileged user accounts by default, etc.) make Windows no easier target than Mac or *x, if social engineering involved. No anti-…
That along with the horrible architecture of Windows systems that just about invites malware. Vista failed miserably in both architecture and privileges and in an attempt to fix that in Windows 7, the privilege of accounts is nullified as it was in XP.
Speaking of XP, it's still the target of most malware and probably will be for some time as most Windows computers still run it (as opposed to 7/Vista/8).