And Joshua cast lots for them in Shiloh before the Lord
For the seven tribes, as he had for the two tribes and a half at Gilgal; of the manner of casting lots, (See Gill on Numbers 26:55);
and there Joshua divided the land unto the children of Israel
according to their division:
the land that was divided into seven parts, he distributed to the seven tribes, as the lot came up for them, and then divided these several parts according to the families and households in each tribe.