To stay in order, be obedient.
Origin: From the linein the House of Commons which members must stay behind during session. "Toe the line" is to conform to the rules.
Angry father: "You'd better toe the line this time, mister, or next time I catch you tattooing your sister's name on shaved dogs you'll be grounded for a month!"