Eat one’s hat

Meaning: A humorous way of saying that you are extremely confident that something will not happen.

Example: If he finishes the project by Friday, I’ll eat my hat.