Joshua 10:26

26 Then Joshua put the kings to death and exposed their bodies on five poles, and they were left hanging on the poles until evening.

Read Joshua 10:26 Using Other Translations

And afterward Joshua smote them, and slew them, and hanged them on five trees: and they were hanging upon the trees until the evening.
And afterward Joshua struck them and put them to death, and he hanged them on five trees. And they hung on the trees until evening.
Then Joshua killed each of the five kings and impaled them on five sharpened poles, where they hung until evening.