2 Chronicles 19

1 Yehoshafat the king of Yehudah returned to his house in shalom to Yerushalayim.
2 Yehu the son of Hanani the seer went out to meet him, and said to king Yehoshafat, Should you help the wicked, and love those who hate the LORD? for this thing wrath is on you from before the LORD.
3 Nevertheless there are good things found in you, in that you have put away the Asherot out of the land, and have set your heart to seek God.
4 Yehoshafat lived at Yerushalayim: and he went out again among the people from Be'er-Sheva to the hill-country of Efrayim, and brought them back to the LORD, the God of their fathers.
5 He set judges in the land throughout all the fortified cities of Yehudah, city by city,
6 and said to the judges, Consider what you do: for you don't judge for man, but for the LORD; and [he is] with you in the judgment.
7 Now therefore let the fear of the LORD be on you; take heed and do it: for there is no iniquity with the LORD our God, nor respect of persons, nor taking of bribes.
8 Moreover in Yerushalayim did Yehoshafat set of the Levites and the Kohanim, and of the heads of the fathers' [houses] of Yisra'el, for the judgment of the LORD, and for controversies. They returned to Yerushalayim.
9 He charged them, saying, Thus shall you do in the fear of the LORD, faithfully, and with a perfect heart.
10 Whenever any controversy shall come to you from your brothers who dwell in their cities, between blood and blood, between law and mitzvah, statutes and ordinances, you shall warn them, that they not be guilty towards the LORD, and so wrath come on you and on your brothers: this do, and you shall not be guilty.
11 Behold, Amaryah the chief Kohen is over you in all matters of the LORD; and Zevadyah the son of Yishma'el, the ruler of the house of Yehudah, in all the king's matters: also the Levites shall be officers before you. Deal courageously, and the LORD be with the good.