Meaning of “toe the (party) line” - Learner’s Dictionary

toe the (party) line

to do what someone in authority tells you to do although you may not agree with it

(Definition of “toe the (party) line” from the Cambridge Learner’s Dictionary © Cambridge University Press)