Where does the expression “to draw the line” come from and What does it mean?

The expression “to draw the line” means: To reach one’s limit; especially, to fix a definite limit of procedure beyond which one refuses to go.

Although now figurative, the line that was drawn was originally actual.

It was the cut of a plowshare across the field to indicate the limit of one’s holding, back in the sixteenth century.