Now it came to pass at the turn of the year, at the time when kings go out to battle, that David sent Joab and his officials with him and all Israel, and they destroyed the children of Ammon and besieged Rabbah. But David stayed in Jerusalem.
Then David said to the messenger, “Thus you shall say to Joab, ‘Don’t let this matter upset you, for the sword devours one as well as another. Press your attack against the city and overthrow it!’ So tell him, chazak!”
Now when David reached Mahanaim, Shobi son of Nahash of Rabbah of the children of Ammon, Machir son of Ammiel of Lo-debar and Barzillai the Gileadite of Rogelim
(For only King Og of the Bashan survived from the remnant of the Rephaim. In fact, his bed was made of iron—is it not in Rabbah of the Ammonites? Nine cubits was its length and four cubits its width, according to the cubit of a man.)