Joshua 21:3

3 So, as the LORD had commanded, the Israelites gave the Levites the following towns and pasturelands out of their own inheritance:

Joshua 21:3 in Other Translations

KJV
3 And the children of Israel gave unto the Levites out of their inheritance, at the commandment of the LORD, these cities and their suburbs.
ESV
3 So by command of the LORD the people of Israel gave to the Levites the following cities and pasturelands out of their inheritance.
NLT
3 So by the command of the LORD the people of Israel gave the Levites the following towns and pasturelands out of their own grants of land.
MSG
3 So the People of Israel, out of their own inheritance, gave the Levites, just as God commanded, the following cities and pastures:
CSB
3 So the Israelites, by the Lord's command, gave the Levites these cities with their pasturelands from their inheritance.

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 Now the family heads of the Levites approached Eleazar the priest, Joshua son of Nun, and the heads of the other tribal families of Israel
2 at Shiloh in Canaan and said to them, “The LORD commanded through Moses that you give us towns to live in, with pasturelands for our livestock.”
3 So, as the LORD had commanded, the Israelites gave the Levites the following towns and pasturelands out of their own inheritance:
4 The first lot came out for the Kohathites, according to their clans. The Levites who were descendants of Aaron the priest were allotted thirteen towns from the tribes of Judah, Simeon and Benjamin.
5 The rest of Kohath’s descendants were allotted ten towns from the clans of the tribes of Ephraim, Dan and half of Manasseh.
Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.