1 Chronicles 11:7

Context11:7 David lived in the fortress; for this reason it is called the City of David.
1 Chronicles 20:1
Context20:1 In the spring, at the time when kings normally conduct wars, 1 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:7
Context21:7 God was also offended by it, 2 so he attacked Israel.