Wiktionary
pull the rug out from under someone
vb. (context idiomatic English) To suddenly remove support from someone.