draw the (or a) line at set a limit of what you are willing to do or accept, beyond which you will not go.
2013Daily Telegraph The school, which had a Muslim headmistress … had gone to great pains to devise a sensibly modest option for Muslim girls, but drew the line at the jilbab.