the children of Israel did so as Joshua commanded--that is, it was done by their twelve representatives.