2 Chronicles 19:4-6

4 And Jehoshaphat dwelt at Jerusalem, and he went out again through the people from Beersheba to Mount Ephraim and brought them back unto the LORD God of their fathers.

5 And he set judges in the land throughout all the fenced cities of Judah, city by city,

6 and said to the judges, Take heed what ye do, for ye do not judge for man, but for the LORD, who [is] with you in the word of judgment.