( informal ) to decide to stop trying to help sb or to do sth because there is no hope of success
GIVE SB/STH UP AS A BAD JOB
Meaning of GIVE SB/STH UP AS A BAD JOB in English
Oxford Advanced Learner's English Dictionary. Оксфордский английский словарь для изучающик язык на продвинутом уровне. 2005