The phrase "swallowed pride" refers to the act of suppressing one's own ego or pride in order to gain a greater benefit or avoid a negative outcome. Synonyms for this phrase could include "concealed ego," "hidden embarrassment," or "suppressed arrogance." Other possible options might include "repressed vanity," "subdued haughtiness," or "curbed conceit." Each of these phrases captures the general idea of putting one's own self-interest aside in order to achieve a greater good. In many cases, this involves making sacrifices or taking steps that may be uncomfortable or difficult, but ultimately lead to a better outcome for oneself or others.