He deliberately set his colleague up, hoping to make him look foolish at the meeting.
Tips
usage
Online fiction and fandom build a family of words on 坑 (pit), meaning an unfinished work: 挖坑 starts one, 填坑 finishes it, 弃坑 abandons it, and 入坑 is getting hooked on a new series or hobby. An author who never finishes anything is said to 挖坑不填.
grammar
A verb-object word, so other words can go in the middle: 挖了一个坑 (dug a hole), 给我挖了个坑 (set me up).