Idiom
draw a line in the sand
to say that a particular idea or activity will not be supported or accepted.The president has drawn a line in the sand, which means that if the foreign troops are not removed, they will be attacked.
Etymology: based on the idea of literally making a mark in sand to show someone they cannot move across it