call it quits
US /kɔl ɪt kwɪts/
UK /kɔl ɪt kwɪts/

1.
parar, desistir, dar por terminado
to stop doing something, especially because it is difficult or unsuccessful
:
•
After working on the project for hours, we decided to call it quits for the night.
Depois de trabalhar no projeto por horas, decidimos parar por hoje à noite.
•
If things don't improve, I might have to call it quits and look for a new job.
Se as coisas não melhorarem, talvez eu tenha que desistir e procurar um novo emprego.