Then Joshua struck them and killed them. He hung their bodies on five trees, and on the trees they remained hanging until evening.