Deuteronomy 1:15
So I took the heads of your tribes, wise and experienced men, and set them as heads over you, captains of thousands, captains of hundreds, captains of fifties, and captains of tens, and officers throughout your tribes -- the hierarchy (thousands, hundreds, fifties, tens) creates a pyramidal judicial system where disputes escalate only when lower courts cannot resolve them. This organization anticipates the wilderness census (Numbers 1) and establishes order in the vast congregation. The system reflects wisdom: smaller disputes handled locally, major cases reserved for higher authority.