Joshua cast lots for them in Shiloh before the Lord, and there [he] divided the land to the Israelites, to each [tribe] his portion.