Shimei was a man from the tribe of Benjamin and of Saul's family. He is best known for cursing and throwing stones at King David when he fled from Absalom, and later being executed by Solomon for breaking his oath to stay in Jerusalem.
When David fled from Jerusalem during Absalom's rebellion, Shimei came out, cursed him, threw stones, and called him a man of bloodshed and a troublemaker.
5As King David approached Bahurim, a man came out from there, from the clan of the house of Saul. His name was Shimei son of Gera, and he came out cursing as he went.
8The LORD has brought back upon you all the blood of the house of Saul, in whose place you have reigned, and the LORD has handed the kingdom over to your son Absalom. See, disaster has overtaken you, because you are a man of blood!"
10But the king said, "What have I to do with you, sons of Zeruiah? Let him curse, for the LORD has told him, 'Curse David.' Who then can ask, 'Why have you done this?'"
11And David said to Abishai and to all his servants, "Look, my own son, my own flesh and blood, is seeking my life. How much more, then, this Benjaminite! Leave him alone and let him curse, for the LORD has told him to.
13So David and his men went on their way, while Shimei kept pace with him along the hillside opposite, cursing as he went, throwing stones at him and flinging dust.
10But the king said, "What have I to do with you, sons of Zeruiah? Let him curse, for the LORD has told him, 'Curse David.' Who then can ask, 'Why have you done this?'"
11And David said to Abishai and to all his servants, "Look, my own son, my own flesh and blood, is seeking my life. How much more, then, this Benjaminite! Leave him alone and let him curse, for the LORD has told him to.
18With him were a thousand men from Benjamin, and Ziba, the steward of Saul's household, with his fifteen sons and twenty servants. They rushed down to the Jordan ahead of the king
19and crossed at the ford to bring the king's household over and to do whatever he thought best. Shimei son of Gera threw himself down before the king as he was about to cross the Jordan
20and said to him, "Let my lord not hold me guilty. Do not remember the wrong your servant did on the day my lord the king left Jerusalem; may the king not take it to heart.
21For your servant knows that I have sinned. But see, today I have come, the first of all the house of Joseph, to come down and meet my lord the king."
23But David said, "What have I to do with you, sons of Zeruiah, that you should turn against me today? Shall a single man be put to death in Israel today? Do I not know that today I am king over Israel?"
On his deathbed, David instructed his son Solomon not to let Shimei's gray hair go down to Sheol in peace, but to show wisdom in how he dealt with him.
8And there is with you Shimei son of Gera, the Benjaminite from Bahurim. He cursed me with a bitter curse the day I went to Mahanaim. But when he came down to meet me at the Jordan, I swore to him by the LORD, 'I will not put you to death by the sword.'
Solomon summoned Shimei and commanded him to build a house in Jerusalem and never leave the city. If he crossed the Kidron Valley, he would die. Shimei accepted the conditions.
After three years, Shimei left Jerusalem to retrieve his escaped slaves from Gath. When Solomon learned of this, he had Benaiah execute Shimei for breaking his oath.
39But at the end of three years, two of Shimei's slaves ran away to Achish son of Maacah, king of Gath, and Shimei was told, "Your slaves are in Gath."
42the king summoned Shimei and said to him, "Did I not make you swear by the LORD and warn you, 'On the day you leave and go anywhere at all, know for certain that you will die'? And you said to me, 'The sentence is fair; I will obey.'
44The king also said to Shimei, "You know—your own heart knows—all the evil you did to my father David. So the LORD will bring your evil back on your own head.
46Then the king gave the order to Benaiah son of Jehoiada, who went out and struck Shimei down, and he died. So the kingdom was firmly established in Solomon's hand.