He threw stones at David and at all the servants of King David, though all the people and all the mighty men were at his right and his left.
In context
4The king said to Ziba, “All that belongs to Mephibosheth is now yours.” Ziba said, “I bow before you. May I find favor in your eyes, my lord the king.” 5When King David reached Bahurim, a man from the family of the house of Saul came out from there. His name was Shimei son of Gera, and he came out cursing as he came. 6He threw stones at David and at all the servants of King David, though all the people and all the mighty men were at his right and his left. 7This is what Shimei said as he cursed: “Get out, get out, you man of blood, you worthless man! 8Yahweh has repaid you for all the blood of the house of Saul, in whose place you became king, and Yahweh has given the kingdom into the hand of your son Absalom. Now look, disaster has caught you, because you are a man of blood.”