1 Chronicles 3:4

3:4 These six were born to David in Hebron, where he ruled for seven years and six months.

He ruled thirty-three years in Jerusalem.

1 Chronicles 19:15

19:15 When the Ammonites saw the Arameans flee, they fled before Joab’s brother Abishai and withdrew into the city. Joab went back to Jerusalem.