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.