The ones that make all the soldiers try and kill me

Am I supposed to kill all the soldiers or is there an alternative?

PLZ do not contain any spoiler in your answer, im VERY early in the game

10x a lot