So David mustered his entire army and marched on Rabbah, attacked it, and captured it. 