People tend to believe Dogs never get killed, shot, poisoned, clubbed etc. Seen it way too often. A electronic custom system works better than any dog. And again, easily hooked to monitoring and even recording of events. If you are away from home a Dog cannot call you are the police. If you cannot afford a GOOD quality system , the yes get a dog. But understand their limitations.
Outside dogs versus inside dogs.
My GSD and Bullmastiff stay inside, if they are outside I am too.
If one came with intent to break into home while we are gone, two large dogs barking from inside might make them select a different house. Prevention.
Alarm system and dogs for the win.