The war remained doubtful with an uncertain issue, but in the third engagement the people of Benjamin were delivered to the people of Israel, and being condemned by the divine judgment [they] paid the penalty for their widely immoral behavior.
Judges 20:33
33 And all the men of Israel rose up out of their place, and put themselves in array at Baal-tamar: and the liers in wait of Israel came forth out of their places, even out of the meadows of Gibeah.
Commentaries
Begging the Lord's peace, they returned more boldly to war, and they to whom prayer had given courage and who had entertained much hope were now able to do what they planned. On a pretext of withdrawing their front lines, setting ambushes at night in the rear of the city, where a segment of the enemy was located, they followed as some retired and thus were provided with an opportunity for invading the unprotected city. Fires were quickly set and flared up while raging flames and waves of heat revealed the sight of the taken city.
Source: LETTER 33