pull the rug out from under (someone), to

pull the rug out from under

Remove all support and assistance from, usually suddenly. For example, Stopping his allowance pulled the rug out from under him, forcing him to look for a job . This metaphoric term alludes to pulling on a rug a person is standing on so that he or she falls. [Mid-1900s] See also: out, pull, rug

pull the rug out from under (someone), to

To upset someone’s plans or activities; to remove someone’s supports. The image is undeniably clear, but a more common practice, it would seem, would be the schoolboy trick of pulling a chair away from someone who is about to sit down. It is rug, however, that became part of a common turn of phrase, originating in the mid-twentieth century. Time used it in an article about labor and the economy in 1946: “Strikes, for instance, would pull the rug out from under the best of prospects.”See also: out, pull, rug