Then the Lord said to Moses, “Write about this battle in a book so people will remember. And be sure to tell Joshua, because I will completely destroy the Amalekites from the earth.”
So no weapon that is used against you will defeat you. You will show that those who speak against you are wrong. These are the good things my servants receive. Their victory comes from me,” says the Lord.
“I will punish Judah and all the people living in Jerusalem. I will remove from this place all signs of Baal, the false priests, and the other priests.
When the Lord your God gives you rest from all the enemies around you in the land he is giving you as your own, you shall destroy any memory of the Amalekites on the earth. Do not forget!
The Lord will not forgive them. His anger will be like a burning fire against those people, and all the curses written in this book will come on them. The Lord will destroy any memory of them on the earth.
Get away so that I may destroy them and make the whole world forget who they are. Then I will make another nation from you that will be bigger and stronger than they are.”
But today remember that the Lord your God goes in before you to destroy them like a fire that burns things up. He will defeat them ahead of you, and you will force them out and destroy them quickly, just as the Lord has said.
So Joshua defeated all the kings of the cities of these areas: the mountains, southern Canaan, the western hills, and the slopes. The Lord, the God of Israel, had told Joshua to completely destroy all the people as an offering to the Lord, so he left no one alive in those places.
Joshua controlled all the land from Mount Halak near Edom to Baal Gad in the Valley of Lebanon, below Mount Hermon. Joshua also captured all the kings in the land and killed them.
The Lord gave them peace on all sides, as he had promised their ancestors. None of their enemies defeated them; the Lord handed all their enemies over to them.