losing battle, a
Also, a losing game. A failing effort or activity. For example, He's fighting a losing battle against putting on weight, or We think his candidacy is a losing game. These expressions, alluding to actual unsuccessful battles or games, have been used figuratively since the early 1600s. Also see lost cause.