Ok, so you leave your current job, work for a couple of years fulfilling your side of the contract and then - on a whim - maybe:
They don't like your political views? The color of your hair? The way you walk? Or they want to hire one of their relatives/friends
They fire you.
That's completely fine in your world?