So Abimelech and all his troops set out by night and took up concealed positions near Shechem in four companies.
Now Gaal son of Ebed had gone out and was standing at the entrance to the city gate1 just as Abimelech and his soldiers came out from their hiding place.2
References for Judges 9:35
When Gaal saw them, he said to Zebul, "Look, people are coming down from the tops of the mountains!" Zebul replied, "You mistake the shadows of the mountains for men."
But Gaal spoke up again: "Look, people are coming down from the center of the land, and a company is coming from the direction of the soothsayers' tree."
Then Zebul said to him, "Where is your big talk now, you who said, 'Who is Abimelech that we should be subject to him?' Aren't these the men you ridiculed?3 Go out and fight them!"
References for Judges 9:38
So Gaal led out the citizens of Shechem and fought Abimelech.
References for Judges 9:39
Abimelech chased him, and many fell wounded in the flight--all the way to the entrance to the gate.