Then it happened in the spring, at the time when kings go out to battle, that David sent Joab and his servants with him and all Israel, and they brought destruction on the sons of Ammon and besieged Rabbah. But David stayed in Jerusalem.
Then David said to the messenger, “This is what you shall say to Joab: ‘Do not let this thing displease you, for the sword devours one as well as another; fight with determination against the city and overthrow it’; and thereby encourage him.”
Now when David had come to Mahanaim, Shobi the son of Nahash from Rabbah of the sons of Ammon, Machir the son of Ammiel from Lo-debar, and Barzillai the Gileadite from Rogelim,
(For only Og king of Bashan was left of the remnant of the Rephaim. Behold, his bed was a bed of iron; it is in Rabbah of the sons of Ammon. Its length was nine cubits, and its width four cubits by the usual cubit.)