to agree to end a contest, disagreement, etc. because both sides seem equal
Idiom · informal
call it quits
1 movie clips of this phrase
Idioms
if need be
if necessary