pull the rug out from under

From Wiktionary, the free dictionary