Joshua 10
24 Ref It happened, when they brought forth those kings to Joshua, that Joshua called for all the men of Israel, and said to the chiefs of the men of war who went with him, Come near, put your feet on the necks of these kings. They came near, and put their feet on the necks of them.
25 Ref Joshua said to them, Don't be afraid, nor be dismayed; be strong and of good courage: for thus shall Yahweh do to all your enemies against whom you fight.
26 Ref Afterward Joshua struck them, and put them to death, and hanged them on five trees: and they were hanging on the trees until the evening.