As they studied the Law, they discovered that the LORD had commanded through Moses that the Israelites should live in shelters during the festival to be held that month.