Calling it quits..

This idiom or expression has to do with:

Stopping or quitting something.

By now we know we’re not gonna succeed. We might as well call it quits now, before we lose all our savings!