(This was following when king Jehoshaphat went to help wicked king Ahab in battle at Ramoth-gilead)
2 Chronicles 19
1 And Jehoshaphat the king of Judah returned to his house in peace to Jerusalem.
2 And Jehu the son of Hanani the seer went out to meet him, and said to king Jehoshaphat, Shouldest thou help the ungodly, and love them that hate the LORD? therefore is wrath upon thee from before the LORD.
3 Nevertheless there are good things found in thee, in that thou hast taken away the groves out of the land, and hast prepared thine heart to seek God.
4 And Jehoshaphat dwelt at Jerusalem: and he went out again through the people from Beer-sheba 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 judge not for man, but for the LORD, who is with you in the judgment.
7 Wherefore now let the fear of the LORD be upon you; take heed and do it: for there is no iniquity with the LORD our God, nor respect of persons, nor taking of gifts.
Click here please for salvation