I suspect when you are sick, you go to the doctor to get better. I can't for the life of me understand why, when you are (probably) healthy, you won't listen to the doctor's advice on how not to get sick (and potentially far worse)?
When we use the actions of others to justify our position, we are rationalizing or actions. Making justifications using others who are not abiding by the rules is faulty, and leads to illegitimate outcomes. Apply the same justifications to your terrorist example - why shouldn't the next person who is pissed at a government decision, take a similar course of action or use a gun, for instance? What type of rationalizations did the terrorist require to decide that attacking another human being is a just course of action? Dear Abby used to say - your right to swing your arm ends at the other person's nose. People who are not following the current restrictions are spreading the virus. Not every person, but as we have no effective way of identifying if who is and who isn't, it only makes sense to stop feeding the virus to new hosts - because that is what it needs to survive.
And as John Prine (may he recover soon and fully) stated
Unhappy, unhappy
You have no complaint
You are what you are and you ain't what you ain't
So listen up buster, and listen up good
Stop wishing for bad luck and knocking on wood