1 Chronicles 20:1

20:1 In the spring, at the time when kings normally conduct wars, Joab led the army into battle and devastated the land of the Ammonites. He went and besieged Rabbah, while David stayed in Jerusalem. Joab defeated Rabbah and tore it down.

1 Chronicles 21:15-16

21:15 God sent an angel to ravage Jerusalem. As he was doing so, the Lord watched and relented from his judgment. He told the angel who was destroying, “That’s enough! Stop now!”

Now the Lord’s angel was standing near the threshing floor of Ornan the Jebusite. 21:16 David looked up and saw the Lord’s messenger standing between the earth and sky with his sword drawn and in his hand, stretched out over Jerusalem. David and the leaders, covered with sackcloth, threw themselves down with their faces to the ground.

1 Chronicles 28:1

David Commissions Solomon to Build the Temple

28:1 David assembled in Jerusalem all the officials of Israel, including the commanders of the tribes, the commanders of the army divisions that served the king, the commanders of units of a thousand and a hundred, the officials who were in charge of all the property and livestock of the king and his sons, the eunuchs, and the warriors, including the most skilled of them.