We say "eat humble pie," although this expression isn't used very much anymore. You "eat humble pie" after you have made a claim or bragged about something that didn't come true.
For example, if I said I was going to win a contest, but then got last place instead, you could say that after the contest I "ate humble pie" and accepted my last place finish.