Thief knows thief, and wolf knows wolf.

贼识贼,狼识狼。