2 Samuel 12:27-29

12:27 Joab then sent messengers to David, saying, “I have fought against Rabbah and have captured the water supply of the city. 12:28 So now assemble the rest of the army and besiege the city and capture it. Otherwise I will capture the city and it will be named for me.”

12:29 So David assembled all the army and went to Rabbah and fought against it and captured it.