I can't stress enough how important it is to teach your puppy or older dog not to bite, ever! Dogs can easily get over excited when children are running around and playing near them. This can lead to a bite. A fearful or insecure dog can bite. An aggressive dog may bite. That's also why it's so important to socialize your puppy from day one and continually expose him or her to different people, dogs and situations, and while doing so to set and enforce boundaries and rules. A dog bite can be a death sentence for your dog.
Consider this story which is played out on a regular basis across this country;
Wicomico Animal Appeals Board decides fate of dogs ID'd in attacks