chuck up the sponge

definition: to give up in the face of defeat of lacking hope
example:
speech part: verb
synonyms: give up

How chuck up the sponge is being used?