Absalom made Amasa captain of the army instead of Joab. Amasa was the son of an [Ishmaelite] named Ithra, who married Abigail daughter of Nahash, [half sister of David and] sister of Zeruiah, Joab's mother.
And say to Amasa, Are you not of my bone and of my flesh? May God do so to me, and more also, if you are not commander of my army hereafter in place of Joab.
And Shimei son of Gera, a Benjamite of Bahurim, hastily came down with the men of Judah to meet King David, And 1,000 men of Benjamin with him. And Ziba, the servant of the house of Saul, and his fifteen sons and twenty servants with him, rushed to the Jordan and pressed quickly into the king's presence. And there went over a ferryboat to bring over the king's household and to do what he thought good. And Shimei son of Gera fell down before the king as David came to the Jordan, read more.
And said to the king, Let not my lord impute iniquity to me and hold me guilty, nor remember what your servant did the day my lord went out of Jerusalem [when Shimei grossly insulted David]; may the king not take it to heart. For your servant knows that I have sinned; therefore, behold, I am today the first of all the house of Joseph to come down to meet my lord the king. But Abishai son of Zeruiah said, Shall not Shimei be put to death for this, because he cursed the Lord's anointed? David said, What have I to do with you, you sons of Zeruiah, that you should be an adversary to me today? Shall anyone be put to death today in Israel? For do not I know that I am this day king over Israel? Therefore the king said to Shimei, You shall not die [at my hand]. And the king gave him his oath.
When King David came to Bahurim, a man of the family of the house of Saul, Shimei son of Gera, came out and cursed continually as he came. And he cast stones at David and at all the servants of King David; and all the people and all the mighty men were on his right hand and on his left. Shimei said as he cursed, Get out, get out, you man of blood, you base fellow! read more.
The Lord has avenged upon you all the blood of the house of Saul, in whose stead you have reigned; and the Lord has delivered the kingdom into the hands of Absalom your son. Behold, the calamity is upon you because you are a bloody man! Then said [David's nephew] Abishai son of Zeruiah to the king, Why should this dead dog curse my lord the king? Let me go over and take off his head. The king said, What have I to do with you, you sons of Zeruiah? If he is cursing because the Lord said to him, Curse David, who then shall ask, Why have you done so? And David said to Abishai and to all his servants, Behold, my son, who was born to me, seeks my life. With how much more reason now may this Benjamite do it? Let him alone; and let him curse, for the Lord has bidden him to do it. It may be that the Lord will look on the iniquity done me and will recompense me with good for his cursing this day. So David and his men went by the road, and Shimei went along on the hillside opposite David and cursed as he went and threw stones and dust at him.