To set the wolf to keep the sheep. meaning

HOME PROVERBS

danger

To set the wolf to keep the sheep.

said when:
People engage a dangerous person to keep them safe.