expression

To snatch defeat from the jaws of victory.

Theme: adversity Keyword: competition

means

Humorous or critical: to throw away an apparently certain success through a final error.

Example

The negotiators snatched defeat from the jaws of victory by reopening a settled dispute.