There's also another saying, "Never wrestle with a pig."
Also, “Pig will find mud” and “Pig will find pig”