Then Joshua killed each of the five kings and impaled them on five sharpened poles, where they hung until evening.