The Israelites received these portions that Eleazar the priest, Joshua son of Nun, and the heads of the families of the Israelite tribes gave them in the land of Canaan.
References for Joshua 14:1
Their inheritance was by lot as the Lord commanded through Moses for the nine and a half tribes,
because Moses had given the inheritance to the two and a half tribes beyond the Jordan. But he gave no inheritance among them to the Levites.
References for Joshua 14:3
The descendants of Joseph became two tribes, Manasseh and Ephraim. No portion of the land was given to the Levites except cities to live in, along with pasturelands for their cattle and livestock.
So the Israelites did as the Lord commanded Moses, and they divided the land.