couper l'herbe sous le pied

Etymology
lit. 'to cut the grass from under the foot'.

Verb

 * 1) to beat to the punch, cut the ground from under someone's feet