used to describe a situation in which the most important aspect is being influenced and controlled by sb/sth that is not as important
THE TAIL (IS) WAGGING THE DOG
Meaning of THE TAIL (IS) WAGGING THE DOG in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005