So David gathered all the people and went to Rabbah, fought against it and captured it.