Joshua said to them, “Do not be afraid or discouraged. Be strong and courageous, for this is what Yahweh will do to all the enemies you fight against.”
In context
23So they did, and brought the five kings out to him from the cave — the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon. 24When they had brought the kings out to Joshua, Joshua summoned all the men of Israel and said to the commanders of the fighting men who had gone with him, “Come here and put your feet on the necks of these kings.” So they came and put their feet on their necks. 25Joshua said to them, “Do not be afraid or discouraged. Be strong and courageous, for this is what Yahweh will do to all the enemies you fight against.” 26After this, Joshua struck the kings down and put them to death, and hanged them on five trees. They hung on the trees until evening. 27At sunset Joshua gave the order, and they took them down from the trees and threw them into the cave where they had hidden. They put large stones over the mouth of the cave, which remain there to this very day.