In general, pitbulls and bully breeds make up around 6% of the population of dogs and account for 22% of attacks. This isn't inherent to the breed, it's inherent to shitty dog owners wanting a badass looking big dog and not investing the necessary time and effort in training and socializing their pet. This leads to batshit breed restrictions and a perpetual ignorant narrative that demonizes different breeds of dogs. Demonize ignorant pet owners who purchase the animal for appearance or status without putting in the work and taking responsibility for the dog.
Essentially, dog breed doesn't impact behavior directly. It impacts their physiology, which impacts how they can behave. A well trained pitbull, or poodle, or shepherd, or collie, or malinois are equally unlikely to attack unprovoked. The point is the training, of which socialization is a big part.
Untrained, unsocialized dog attacks are about as antisocial as drunk driving. It doesn't make sense to focus on the model of car the drunk was driving. It doesn't make sense to focus on the breed of the dog shitty owners allowed to attack.