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