Joshua 21:8

8 So the Israelites allotted to the Levites these towns and their pasturelands, as the LORD had commanded through Moses.

Joshua 21:8 in Other Translations

KJV
8 And the children of Israel gave by lot unto the Levites these cities with their suburbs, as the LORD commanded by the hand of Moses.
ESV
8 These cities and their pasturelands the people of Israel gave by lot to the Levites, as the LORD had commanded through Moses.
NLT
8 So the Israelites obeyed the LORD ’s command to Moses and assigned these towns and pasturelands to the Levites by casting sacred lots.
MSG
8 So the People of Israel gave these cities with their pastures to the Levites just as God had ordered through Moses, that is, by lot.
CSB
8 The Israelites gave these cities with their pasturelands around them to the Levites by lot, as the Lord had commanded through Moses.

Joshua 21:8 Meaning and Commentary

Joshua 21:8

And the children of Israel gave by lot unto the Levites these
cities with their suburbs
Reaching two thousand cubits from the cities all around: these cities did not lie all together, and so could not be described by their coasts; but in the several tribes, and intermixed with their cities; which fulfilled Jacob's prophecy, that they should be divided and scattered in Israel, ( Genesis 49:7 ) ; as well as it was so ordered for the benefit of the several tribes, that they might have the assistance of the priests and Levites, to instruct them in the knowledge of the laws and commandments of God, and all divine things:

as the Lord commanded by the hand of Moses;
( Numbers 35:2 ) .

Joshua 21:8 In-Context

6 The descendants of Gershon were allotted thirteen towns from the clans of the tribes of Issachar, Asher, Naphtali and the half-tribe of Manasseh in Bashan.
7 The descendants of Merari, according to their clans, received twelve towns from the tribes of Reuben, Gad and Zebulun.
8 So the Israelites allotted to the Levites these towns and their pasturelands, as the LORD had commanded through Moses.
9 From the tribes of Judah and Simeon they allotted the following towns by name
10 (these towns were assigned to the descendants of Aaron who were from the Kohathite clans of the Levites, because the first lot fell to them):
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.