So the Israelites gave the Levites these towns and the pastures around them. They did this to obey the commandment that the Lord had given Moses.