the whole congregation . . . assembled together at Shiloh--The main body of the Israelites had been diminished by the separation of the three tribes, Judah, Ephraim, and Manasseh into their respective allotments; and the country having been in a great measure subdued, the camp was removed to Shiloh (now Seilun). It was twenty or twenty-five miles north of Jerusalem, twelve north of Beth-el, and ten south of Shechem, and embosomed in a rugged and romantic glen. This sequestered spot in the heart of the country might have been recommended by the dictates of convenience. There the allotment of the territory could be most conveniently made, north, south, east, and west, to the different tribes. But "the tabernacle of the congregation was also set up there," and its removal therefore must have been made or sanctioned by divine intimation (Deu 12:11). It remained in Shiloh for more than three hundred years (Sa1 4:1-11).
there remained . . . seven tribes, which had not yet received their inheritance--The selection of Shiloh for the seat of worship, together with the consequent removal of the camp thither, had necessarily interrupted the casting of lots, which was commenced by fixing localities for the tribes of Judah and Joseph. Various causes led to a long delay in resuming it. The satisfaction of the people with their change to so pleasant and fertile a district, their preference of a nomad life, a love of ease, and reluctance to renew the war, seem to have made them indifferent to the possession of a settled inheritance. But Joshua was too much alive to the duty laid on him by the Lord to let matters continue in that state; and accordingly, since a general conquest of the land had been made, he resolved to proceed immediately with the lot, believing that when each tribe should receive its inheritance, a new motive would arise to lead them to exert themselves in securing the full possession.
Joshua cast lots for them in Shiloh before the Lord--before the tabernacle, where the divine presence was manifested, and which associated with the lot the idea of divine sanction.
the coast of their lot came forth between the children of Judah and the children of Joseph--Thus the prophecy of Moses respecting the inheritance of Benjamin was remarkably accomplished. (See on Deu 33:12).