this has an negative reinforcement element to it and negative reinforcement has seen to being very much out of fashion for some time.
The risk with negative reinforcement is just that - it carries risk - risk of going wrong and either escalating existing issues, or triggering new problems
That is not to say there isn't a place for it, but imo, it is certainly not necessary for the majority of dog owners and pet dogs, especially when positive reinforcement tools are so accessible and carry no greater risk to the dog than not working
Recommending punishment or negative reinforcement techniques on a forum, to inexperienced dog handlers, with limited understanding of the dog or context within which the behaviour is displayed, can have tragic consequences
Anyone who has a problem with their dog that is so severe that if not solved could lead to the dog losing its life should be seeking the advice of a suitably experienced (and qualified) behaviourist, who can supervise the implementation of these techniques and monitor the dog to ensure there are no unwanted side effects