That's far too simplistic of a viewpoint. There are way too many other variables for you to make that assumption.No; it is not.
It is an immune reponse (over-response) to a viral infection.
Vaccines mimic viral infections and create the same immune responses.