No ready-made phrase easily comes to mind. The following did occur to me, however: Don't let the fox guard the chicken coop. The more common usage is to say that a situation that exists is "like letting the fox guard the chicken coop", but there's no reason I can see why you couldn't express it as an imperative.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.