cut the ground from under someone's feet

El Vikivortaro

tute subfosi ies pozicion; tute vanigi ies argumenton (aŭ ... planon; ... projekton)

minarle a uno el terreno, tomar la delantera (a alguien), serrucharle el piso a alguien

pull the rug out from under [sb] v expr, to anticipate someone's action or argument and thus make it irrelevant or meaningless

couper l'herbe sous le pied de qqn expr