If she told him the reason why she needs to quit maybe the king would suggest that she could just marry him since he was told that he needs to marry someone to make a heir and the one of the reason why the the girl wants to quit her job is because she promise after 5yrs she will marry someone