2 Chr 19:6

19:6 He is with you. This does not mean that their decisions were inspired, but that God approved of the work of the courts in general, and wanted their decisions to be made according to His law first of all.