'Cursing' in the Bible
Later on, as King David approached Bahurim, Gera's son Shimei, who was related to the family of Saul's household, went out to meet David, cursing continually as he approached.
At this point, Zeruiah's son Abishai asked the king, "Why should this dead dog be cursing your majesty the king? May I have permission to go over and cut off his head?"
So David ordered Abishai and all of his staff: "Look! My own son wants to kill me! How much more now is this descendant of Benjamin? Leave him alone and let him go on cursing, because the LORD has ordered him to do this.
So David and his entourage went on their way, and Shimei walked along the hillside with him, cursing, throwing rocks, and tossing dirt at David as they went along.