Draw the line

Photo of a line in the sand
To draw a line in the sand or to draw the line marks a clear limit that someone refuses to cross.

The idiom comes from the idea of drawing a line across the ground to show where one side ends and the other begins.

The manager said cutting staff was a line in the sand for the team.