2 Samuel 8:16
And Joab the son of Zeruiah was over the host; and Jehoshaphat the son of Ahilud was recorder;
Cross-reference
2 Samuel 19:13 shows David replacing Joab with Amasa as army commander — a later change to the leadership listed here.
2 Samuel 20:23 reaffirms Joab as commander of Israel's army — the same role described here after a rebellion.
2 Samuel 24:2 explicitly calls Joab 'the commander of the army,' matching his title given here.
2 Samuel 20:7 depicts Joab commanding troops to pursue Sheba, consistent with his role as army commander.
1 Kings 4:3 shows Jehoshaphat son of Ahilud still serving as recorder under Solomon, confirming his ongoing role.
1 Chronicles 11:6 recounts how Joab became commander by striking Jebusites first, providing backstory for his role listed here.
1 Chronicles 18:15-17 gives a fuller list of David's officials, including Joab and Jehoshaphat, paralleling this verse's summary.