So by the command of the LORD, the Israelites gave the Levites these cities and their pasturelands out of their own inheritance:
Here is, I. The Levites' petition presented to this general convention of the states, now sitting at Shiloh, Jos 21:1, Jos 21:2. Observe, 1. They had not their lot assigned them till they made their claim. There is an inheritance provided for all the saints, that royal priesthood, but then they must petition for it. Ask, and it shall be given you.
Commenting on Joshua 21:1-8
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...
And the children of Israel gave unto the Levites - They cheerfully obeyed the Divine command, and cities for habitations were appointed to them out of the different tribes by lot, that it might as fully appear that God designed them their habitations, as he designed the others their inheritances.