the tail wagging the dog
idiomDefinition of the tail wagging the dog
informal
—used to describe a situation in which an important or powerful person, organization, etc., is being controlled by someone or something that is much less important or powerful