Wiktionary
throw up the sponge
vb. (context archaic slang English) To give up a contest; to acknowledge defeat; throw in the towel.