Joshua 10:24-26
10:24 When they brought the kings out to Joshua, he summoned all the men of Israel and said to the commanders of the troops who accompanied him, “Come here and put your feet on the necks of these kings.” So they came up and put their feet on their necks.
10:25 Then Joshua said to them, “Don’t be afraid and don’t panic! Be strong and brave, for the Lord will do the same thing to all your enemies you fight.
10:26 Then Joshua executed them and hung them on five trees. They were left hanging on the trees until evening.