Green’s Dictionary of Slang

eat one’s hat v.

[late 18C+] to go back on one’s words, esp. to admit that a public statement was, in fact, wrong.