But as for you, Ezra, in accord with the wisdom of your God, which is in your hand, appoint judges and magistrates, so that they may judge the entire people, which is beyond the river, especially so that they may know the law of your God, but also so as to teach the ignorant freely.
The leaders of Tanis are foolish. The wise counselors of Pharaoh have given foolish counsel. How can you say to Pharaoh: "I am the son of wisemen, the son of the kings of antiquity?"
For the answer that you seek, O king, is very difficult. Neither can anyone be found who can reveal it in the sight of the king, except the gods, whose conversation is not with men."
Then the king raised Daniel to a high rank and gave him many great gifts, and he appointed him as leader over all the provinces of Babylon and as chief of the magistrates over all the other wise men of Babylon.