Joshua 10:26
10:26 Then Joshua executed them
and hung them on five trees. They were left hanging on the trees until evening.
Joshua 7:6
7:6 Joshua tore his clothes; he and the leaders of Israel lay face down on the ground before the ark of the Lord until evening and threw dirt on their heads.
Joshua 8:29
8:29 He hung the king of Ai on a tree, leaving him exposed until evening.
At sunset Joshua ordered that his corpse be taken down from the tree.
They threw it down at the entrance of the city gate and erected over it a large pile of stones (it remains to this very day).