The Second Book of Samuel 15: 13-14,30, 16: 5-13
15:13 Then a messenger went to David, saying, “With their whole heart, all of Israel is following Absalom.”
15:14 And David said to his servants, who were with him in Jerusalem: “Rise up, let us flee! For otherwise there will be no escape for us from the face of Absalom. Hurry to depart, lest perhaps, upon arriving, he may seize us, and force ruin upon us, and strike the city with the edge of the sword.”
15:30 But David ascended to the Mount of Olives, climbing and weeping, advancing with bare feet and with his head covered. Moreover, all the people who were with him ascended, weeping with their heads covered.
16:5 Then king David went as far as Bahurim. And behold, a man from the kindred of the house of Saul, named Shimei, the son of Gera, went out from there. And going out, he continued on, and he was cursing,
16:6 and throwing stones against David and against all the servants of king David. And all the people and all the warriors were traveling to the right and to the left sides of the king.
16:7 And so, as he was cursing the king, Shimei said: “Go away, go away, you man of blood, and you man of Belial!
16:8 The Lord has repaid you for all the blood of the house of Saul. For you have usurped the kingdom in place of him. And so, the Lord has given the kingdom into the hand of Absalom, your son. And behold, your evils press close upon you, because you are a man of blood.”
16:9 Then Abishai, the son of Zeruiah, said to the king: “Why should this dead dog curse my lord the king? Let me go and cut off his head.”
16:10 And the king said: “What is it to me and to all of you, O sons of Zeruiah? Permit him, so that he may curse. For the Lord has commanded him to curse David. And who is the one who would dare to say, ‘Why has he done so?’ ”
16:11 And the king said to Abishai and to all his servants: “Behold, my son, who went forth from my loins, is seeking my life. How much more does a son of Benjamin do so now? Permit him, so that he may curse, in accord with the command of the Lord.
16:12 Perhaps the Lord may look with favor upon my affliction, and the Lord may repay me good, in place of the cursing of this day.”
16:13 And so, David continued walking along the way, and his associates with him. But Shimei was advancing along the ridge of the mountain on the side opposite him, cursing and throwing stones at him, and scattering dirt.