Eat one’s words

Meaning: To admit that something you said was wrong.

Example: I said the team would lose, but they won, so I had to eat my words.