Joshua 21:3

3 So the People of Israel, out of their own inheritance, gave the Levites, just as God commanded, the following cities and pastures:

Joshua 21:3 Meaning and Commentary

Joshua 21:3

And the children of Israel gave unto the Levites out of their
inheritance
Knowing full well there was such a command, made no objection to their motion, but freely gave them cities out of the portion of inheritance allotted to them; this they did

at the commandment of the Lord, and in obedience to it, even gave
these cities and suburbs;
after mentioned: this was done by the tribes themselves; as there were a certain number fixed by the commandment of God, they agreed among themselves how many and what cities should be given out of each tribe; and then lots were cast for them by Joshua, what and which cities should be appropriated to their several divisions, as the Kohathites that sprang from Aaron, and the rest of them that did not, and the Gershonites and Merarites, as follows.

Joshua 21:3 In-Context

1 The ancestral heads of the Levites came to Eleazar the priest and Joshua son of Nun and to the heads of the other tribes of the People of Israel.
2 This took place at Shiloh in the land of Canaan. They said, "God commanded through Moses that you give us cities to live in with access to pastures for our cattle."
3 So the People of Israel, out of their own inheritance, gave the Levites, just as God commanded, the following cities and pastures:
4 The lot came out for the families of the Kohathites this way: Levites descended from Aaron the priest received by lot thirteen cities out of the tribes of Judah, Simeon, and Benjamin.
5 The rest of the Kohathites received by lot ten cities from the families of the tribes of Ephraim, Dan, and the half-tribe of Manasseh.
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved.