A company cannot fire you just like that. It should to motivate its decision. Setting goals and evaluating them is an HR way to artificially build a case against people the company wants to fire. That's the primary goal.
It's common that managers receive instructions: one good evaluation, one bad (even if no-one deserves it), and all the rest ok/average.
Usage of this can be broader. For example only the "good" evaluation might be eligible for a raise.
As long as your goals are broad and evasive, you're safe. When they starts to be precise, that's the alarm signal.