Linux and Windows are built from the same circuit hardware and same logistic languages and can be coded and hacked the same ways.
Windows is just more popular.
Windows has more ignorant users.
Windows is mainstream.
Prime target for hackers who think it's funny to fuck with people. The larger the population, the higher the probability of at least 1 fool falling for their trick.
Only reason Linux is more secure is because nobody is interested in coding viruses for them yet.
Yeah naturally I was joking... Windows is way less secure. Mac has 10% market share and its users are foolish enough to pay way over the odds for a machine just because it has an Apple badge on it. There would be plenty more Mac viruses already if your argument held any water, but it doesn't of course.