give up on somebody/something phrasal verb ( see also ↑ give )
to stop hoping that someone or something will change or improve:
He’d been in a coma for six months, and doctors had almost given up on him.
At that point, I hadn’t completely given up on the marriage.