2 Samuel 8:15

15 And David was king over all Israel, judging and giving right decisions for all his people.