When a person's life is threatened, they are capable of anything.
After all, survival is almost always the top priority.
So, if a group of people knows they might soon die, but by killing one person they could avoid that fate, they would immediately start plotting how to kill someone and how not to be killed themselves.
But this isn't always the case.