This is related to ancient etiquette. In ancient private ownership society, the number of pigs was an important symbol to measure social wealth. When ancestors sacrifice their ancestors, they should eat pigs, cattle and sheep. As for dogs, they are domesticated by wolves and are your loyal friends. In order to avoid suspicion, they said so.
Now that so many people have dogs, it is inevitable that a table of people will meet ... dogs are so cute.
There is another saying: beat the dog and break up.
In other words, kill the dog and go your own way, so you don't need this dish for dinner.