2 Samuel 5:7; 2 Samuel 8:4; 2 Samuel 12:26-29

7 Nevertheless, David captured the stronghold of Zion, that is the city of David.
4 David captured from him 1,700 horsemen and 20,000 foot soldiers ; and David hamstrung the chariot horses, but reserved enough of them for 100 chariots.
26 Now Joab fought against Rabbah of the sons of Ammon and captured the royal city. 27 Joab sent messengers to David and said, "I have fought against Rabbah, I have even captured the city of waters. 28 "Now therefore, gather the rest of the people together and camp against the city and capture it, or I will capture the city myself and it will be named after me." 29 So David gathered all the people and went to Rabbah, fought against it and captured it.