Term: give up the ghost
Example: i wanted to get back with my ex but now i'm 'bout to give up the ghost
Definition: to stop trying to do something because you aren't getting what you want for your efforts