I’m shattered emotionally....

you tried and I'm sorry it failed. A dog (or any pet) that enters other people's property and bites them, or sends them to the hospital, or worse yet, kills them, is a serious problem and a threat to any other pet or person. Especially repeated offenders!!! While I appreciate your efforts, count yourself lucky it didn't kill or seriously injure a kid because the dogs past and your neglect to keep it contained would have put you in trouble. I feel sorry for those that got bit
Maybe watch this and see it from the other side....
19-year-old saves child from dog attack - YouTube
Two dogs attack girl on bike; neighbor steps in - YouTube