The Lord your God will hand these nations over to you, and when you defeat them, you must destroy them completely. Do not make a peace treaty with them or show them any mercy.
Long ago the Lord had commanded his servant Moses to do this, and then Moses had commanded Joshua to do it. Joshua did everything the Lord had commanded Moses.