Just as when Moses appointed judges to help manage the legal issues of the people without first consulting God, Joshua (the new human leader of the congregation) is deceived into making a peace treaty with some of the inhabitants of the Promised Land.