Exodus 18:21-22

18:21 But you choose from the people capable men, God-fearing, men of truth, those who hate bribes, and put them over the people as rulers of thousands, rulers of hundreds, rulers of fifties, and rulers of tens. 18:22 They will judge the people under normal circumstances, and every difficult case they will bring to you, but every small case they themselves will judge, so that you may make it easier for yourself, and they will bear the burden with you.

Exodus 18:25-26

18:25 Moses chose capable men from all Israel, and he made them heads over the people, rulers of thousands, rulers of hundreds, rulers of fifties, and rulers of tens. 18:26 They judged the people under normal circumstances; the difficult cases they would bring to Moses, but every small case they would judge themselves.