So the Israelites obeyed everything the Lord commanded Moses. They camped under their flags and marched out by families and family groups.