eat humble pie
you got caught in a lie and had to eat a pie made of shame
He lied about doing his homework and had to eat a pie in front of the class.
She pretended she didn’t know the password, but got caught and had to eat a pie.
He said he was sick but showed up to the game and had to eat a pie on the field.
xs