Terrible way to go. It's 100% the owners than need punishing not the dogs / particular breed of dog.
Pit Bulls, Rottweilers, Huskys and other high on the biting / attack list are only like that due to how they have been trained and looked after...usually by scumbag owners.
One of my parents friends had a Pitbull, it was playful and friendly even when we were kids it was never a problem
My aunt and uncle have always had German Shepherds, all have been wonderful dogs however one that they adopted had some issues as was not properly looked after before they got it. It would sometimes be a bit temperamental and bite if you made sudden movements close to it. Again, a fault on the previous owners