proverb

Set a thief to catch a thief.

crime

suggests that

A criminal can understand and anticipate another criminal so it will be easier to apprehend him.