For the sons of Israel walked forty years in the wilderness, until all the nation, that is, the men of war who came out of Egypt, perished because they did not listen to the voice of the LORD, to whom the LORD had sworn that He would not let them see the land which the LORD had sworn to their fathers to give us, a land flowing with milk and honey.
Now the LORD said to Joshua, "Do not fear or be dismayed. Take all the people of war with you and arise, go up to Ai ; see, I have given into your hand the king of Ai, his people, his city, and his land.
It came about when the king of Ai saw it, that the men of the city hurried and rose up early and went out to meet Israel in battle, he and all his people at the appointed place before the desert plain. But he did not know that there was an ambush against him behind the city.
When they brought these kings out to Joshua, Joshua called for all the men of Israel, and said to the chiefs of the men of war who had gone with him, "Come near, put your feet on the necks of these kings." So they came near and put their feet on their necks.
Joshua waged war a long time with all these kings.
There was not a city which made peace with the sons of Israel except the Hivites living in Gibeon ; they took them all in battle.
For it was of the LORD to harden their hearts, to meet Israel in battle in order that he might utterly destroy them, that they might receive no mercy, but that he might destroy them, just as the LORD had commanded Moses.
So Joshua took the whole land, according to all that the LORD had spoken to Moses, and Joshua gave it for an inheritance to Israel according to their divisions by their tribes. Thus the land had rest from war.
Now this was the lot for the tribe of Manasseh, for he was the firstborn of Joseph. To Machir the firstborn of Manasseh, the father of Gilead, were allotted Gilead and Bashan, because he was a man of war.