bitter pill


noun

a distressing experience or result that is hard to accept (often in the expression a bitter pill to swallow): Being passed over for promotion was a bitter pill to swallow.