
Call it quits
Ending Effort
Used when someone decides to stop trying because success seems unlikely. 
Relationship Breakup
Often used to indicate the ending of a personal or business relationship. 
No Formality
The phrase is informal, more suited for casual conversation than formal writing. 