It's "toe the line". This difference is pretty important. I thought it was "tow the line" more than half my life because it sounds like pulling on a rope to go in the right direction.
It's actually more sinister. Get your toes on the line we drew. Perfect conformity of thought or action.