Then it happened in the spring, at the time when kings go out to battle, that Joab led out the army and ravaged the land of the sons of Ammon, and came and besieged Rabbah. But David stayed at Jerusalem. And Joab struck Rabbah and overthrew it.