וַיֶּאֱסֹ֥ף דָּוִ֛ד אֶת־כָּל־הָעָ֖ם וַיֵּ֣לֶךְ רַבָּ֑תָה וַיִּלָּ֥חֶם בָּ֖הּ וַֽיִּלְכְּדָֽהּ׃
And David gathered all the people together, and went to Rabbah, and fought against it, and took it.
Read midrashic interpretation of II Samuel 12:29: and classical rabbinic exegesis.