Wuyang slaughtered dogs in Peizhong City, and Pingjin herded dogs in Haidong Head. what's the meaning

"Wuyang butchering dogs" refers to Fan Kuai, a famous soldier who was named the marquis of Wuyang by Emperor Gaozu of Han Dynasty. He used to slaughter dogs in Pei County for a living.

The term "herding dogs in Pingjin" refers to Gongsun Hong, the prime minister of Emperor Wu of the Han Dynasty, who once spared pigs in the East China Sea

-both of these sentences mean that celebrities in history have been down and out, so we can't judge people by their origins.