pit your wits against
pit (one's) wits against (someone or something)
To engage in a contest of intelligence with someone or something. In the show, five couples will pit their wits against each other to see who knows more pop culture trivia. The best chess player in the world is pitting his wits against a supercomputer.
pit your wits againstcompete with someone or something.
1996 Earl Lovelace Salt Michael…would be the one to make money…there was no greater cause or adversary to pit his wits and slickness and spite against.