There was a time when our dogs were able to roam neighborhoods, playing with kids and carousing with other dogs. Dogs grew up with finely developed social skills, kids weren’t bitten and there were hardly ever dog fights.
Times have changed, as has the law. Dogs are now required to stay locked up and don't have a chance to develop those social skills.
Obedience training is very helpful in establishing you as your dog’s leader, but in order to have a relaxed, confident pet, whom you can take anywhere you want without them becoming frightened or defensive, there is nothing more valuable than proper socialization.