To me, blaming a dog for attacking somebody is sort of like blaming a gun for shooting somebody.
The gun, if left alone, wouldn't shoot anybody.
The dog, if raised properly, wouldn't attack anybody.
I understand that guns and dogs are different. One is inanimate and the other isn't. But both the gun and the dog need outside influence to be dangerous.