The correct option is C to swallow one's pride and apologise for doing something wrong
'To eat an humble pie' means to admit that you are wrong; forced to apologize humbly. E.g. He had to eat humble pie and publicly admit his error. Thus, option C is the correct answer. Rest of the options are not the correct fit.