Hygiene is key...
"If you rigorously avoid the sketchier parts of the internet and don't allow software to install willy-nillie, you can go years or even decades without an infection."
Yes, that describes me. I don't advocate my approach for anyone else. I merely point out that the risks are massively reduced - to almost (but not quite) zero - by good Internet hygiene.