Answer:
The idiom refers to behaving humbly or apologetically when acknowledging an error. (The origin reportedly comes from the word "umble" rather than "humble" as such, however. See http://www.phrases.org.uk/meanings/eat-humble-pie.html for further information.)