2 Samuel 19:16-23 New Revised Standard Version (NRSV)
16 Shimei son of Gera, the Benjaminite, from Bahurim, hurried to come down with the people of Judah to meet King David; 17 with him were a thousand people from Benjamin. And Ziba, the servant of the house of Saul, with his fifteen sons and his twenty servants, rushed down to the Jordan ahead of the king, 18 while the crossing was taking place,[a] to bring over the king’s household, and to do his pleasure.
David’s Mercy to Shimei
Shimei son of Gera fell down before the king, as he was about to cross the Jordan, 19 and said to the king, “May my lord not hold me guilty or remember how your servant did wrong on the day my lord the king left Jerusalem; may the king not bear it in mind. 20 For your servant knows that I have sinned; therefore, see, I have come this day, the first of all the house of Joseph to come down to meet my lord the king.” 21 Abishai son of Zeruiah answered, “Shall not Shimei be put to death for this, because he cursed the Lord’s anointed?” 22 But David said, “What have I to do with you, you sons of Zeruiah, that you should today become an adversary to me? Shall anyone be put to death in Israel this day? For do I not know that I am this day king over Israel?” 23 The king said to Shimei, “You shall not die.” And the king gave him his oath.