Jehoshaphat king of Judah who strengthened worship appointed judges and trusted God in battle leading to deliverance though he later made political alliances that compromised purity.
2 Chronicles 17 to 20
“Jehoshaphat appointed judges in the land and sought the Lord”