snatching defeat from the jaws of victory