2 Samuel 8:16

16 aJoab the son of Zeruiah was over the army, and bJehoshaphat the son of Ahilud was recorder,

1 Chronicles 11:6

6David said, “Whoever strikes the Jebusites first cshall be chief and commander.” And Joab the son of Zeruiah went up first, so he became chief.
Copyright information for ESV