Then Joshua gathered all the tribes of Israel to Shechem and called for the elders of Israel, for their leaders, for their judges, and for their officers, and they presented themselves before God.