So the Israelites obeyed the LORD’s command to Moses and assigned these towns and pasturelands to the Levites by casting sacred lots.