2 They stood before Moses and before Eleazar the priest and before the leaders and all the congregation, at the doorway of the tent of meeting, saying,
3 'Our father died in the wilderness, yet he was not among the company of those who gathered themselves together against the LORD in the company of Korah; but he died in his own sin, and he had no sons.
4 'Why should the name of our father be withdrawn from among his family because he had no son? Give us a possession among our father's brothers.'
5 So Moses brought their case before the LORD.
6 Then the LORD spoke to Moses, saying,
7 'The daughters of Zelophehad are right in their statements. You shall surely give them a hereditary possession among their father's brothers, and you shall transfer the inheritance of their father to them.
8 'Further, you shall speak to the sons of Israel, saying, 'If a man dies and has no son, then you shall transfer his inheritance to his daughter.
9 'If he has no daughter, then you shall give his inheritance to his brothers.
10 'If he has no brothers, then you shall give his inheritance to his father's brothers.
11 'If his father has no brothers, then you shall give his inheritance to his nearest relative in his own family, and he shall possess it; and it shall be a statutory ordinance to the sons of Israel, just as the LORD commanded Moses.''
12 Then the LORD said to Moses, 'Go up to this mountain of Abarim, and see the land which I have given to the sons of Israel.
13 'When you have seen it, you too will be gathered to your people, as Aaron your brother was;
14 for in the wilderness of Zin, during the strife of the congregation, you rebelled against My command to treat Me as holy before their eyes at the water.' (These are the waters of Meribah of Kadesh in the wilderness of Zin.)
15 Then Moses spoke to the LORD, saying,
16 'May the LORD, the God of the spirits of all flesh, appoint a man over the congregation,
17 who will go out and come in before them, and who will lead them out and bring them in, so that the congregation of the LORD will not be like sheep which have no shepherd.'
18 So the LORD said to Moses, 'Take Joshua the son of Nun, a man in whom is the Spirit, and lay your hand on him;
19 and have him stand before Eleazar the priest and before all the congregation, and commission him in their sight.
20 'You shall put some of your authority on him, in order that all the congregation of the sons of Israel may obey him.
21 'Moreover, he shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before the LORD. At his command they shall go out and at his command they shall come in, both he and the sons of Israel with him, even all the congregation.'
22 Moses did just as the LORD commanded him; and he took Joshua and set him before Eleazar the priest and before all the congregation.
23 Then he laid his hands on him and commissioned him, just as the LORD had spoken through Moses.