So then, when the Lord your God has given you the land and made you safe from all your enemies who live around you, be sure to kill all the Amalekites, so that no one will remember them any longer. Do not forget!
Help the other Israelites until they occupy the land that the Lord is giving them west of the Jordan and until the Lord lets them live there in peace, as he has already done here for you. After that, you may return to this land that I have assigned to you.’
Because of you the Lord your God was angry with me and solemnly declared that I would not cross the Jordan River to enter the fertile land which he is giving you.
Joshua captured the whole land, as the Lord had commanded Moses. Joshua gave it to the Israelites as their own and divided it into portions, one for each tribe. So the people rested from war.