When you have to fight for decades in the workplace, the probability of encountering a change of boss is not low, so you have to be alert and prepared at all times.
You want to change your job after 3 years of hard work without a raise? Want to leave and feel the cost is high? Do you want to change jobs if it is inconsistent with the boss's values?