swallow your pride
US /ˈswɑːloʊ jʊər praɪd/
UK /ˈswɑːloʊ jʊər praɪd/

1.
to do something that you think is beneath your dignity, or to admit that you were wrong, even if it is difficult
:
•
He had to swallow his pride and ask for help.
•
Sometimes you just have to swallow your pride and apologize.