The movie has a village that a tribe that lives in a cave in a mountain sometimes steals villagers. At one point a guy from the village visits the cave and sneaks around. Later the village builds a wall of outward pointing sharp sticks as the tribe descends the mountain with torches (snake of fire? I think they say).
I think it’s from the 90s