When my sister and her husband were newbies at raising chickens, their dog killed all the chickens (four or five, iirc) the first night. So they got a new batch of chickens and trained the dog not to kill the chickens. It took only a few days. And they kept chickens and the dog for many happy years after that.