Then the daughters of Zelophehad, the son of Hepher, the son of Gilead, the son of Machir, the son of Manasseh, of the families of Manasseh the son of Joseph, came near; and these are the names of his daughters: Mahlah, Noah and Hoglah and Milcah and Tirzah. 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, “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. 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.” So Moses brought their case before the LORD.
Then the LORD spoke to Moses, saying, “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. 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. If he has no daughter, then you shall give his inheritance to his brothers. If he has no brothers, then you shall give his inheritance to his father’s brothers. 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.’ ”
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. When you have seen it, you too will be gathered to your people, as Aaron your brother was; 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.)
Then Moses spoke to the LORD, saying, “May the LORD, the God of the spirits of all flesh, appoint a man over the congregation, 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.” 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; and have him stand before Eleazar the priest and before all the congregation, and commission him in their sight. You shall put some of your authority on him, in order that all the congregation of the sons of Israel may obey him. 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.” Moses did just as the LORD commanded him; and he took Joshua and set him before Eleazar the priest and before all the congregation. Then he laid his hands on him and commissioned him, just as the LORD had spoken through Moses.