Wiktionary
give something up as a bad job
vb. To cease a task that has a history of failure and little chance of immediate success.