toe the line
toe the line or toe the mark {v. phr.}
To be very careful to do just what you are supposed to do; obey the rules and do your duties.
The new teacher will make Joe toe the line.
Bill's father is strict with him and he has to toe the mark.
Compare: WALK THE CHALK.
Categories:
Source: A Dictionary of American Idioms