It happened, when Israel had made an end of killing all the inhabitants of Ai in the field, in the wilderness in which they pursued them, and they were all fallen by the edge of the sword, until they were consumed, that all Israel returned to Ai, and struck it with the edge of the sword.
Having now cleared the way, Joshua led his people to Shechem, about thirty kilometres farther on. God had earlier instructed the people through Moses that, as soon as possible after entry into Canaan, they were to go to Shechem to promise their obedience to the covenant. First of all Joshua built an altar, on which the people offered sacrifices that expressed dedication and fellowship. Joshua also wrote the law of God on plastered stones, which he set up in Shechem to remind the people of the rule of life that God laid down for them in their new land (30-32; Deuteronomy 27:1-8).