2 Samuel 19:21

But Abishai the son of Zeruiah said, “Should not Shimei be put to death for this, because he cursed the Lord’s anointed?”

Exodus 22:28

“You shall not curse God, nor curse a ruler of your people.

1 Samuel 26:9

But David said to Abishai, “Do not destroy him, for who can stretch out his hand against the Lord’s anointed and be without guilt?”

1 Samuel 24:6

So he said to his men, “Far be it from me because of the Lord that I should do this thing to my lord, the Lord’s anointed, to stretch out my hand against him, since he is the Lord’s anointed.”

2 Samuel 16:5

When King David came to Bahurim, behold, there came out from there a man of the family of the house of Saul whose name was Shimei, the son of Gera; he came out cursing continually as he came.

2 Samuel 16:7-8

Thus Shimei said when he cursed, “Get out, get out, you man of bloodshed, and worthless fellow!

2 Samuel 16:13

So David and his men went on the way; and Shimei went along on the hillside parallel with him and as he went he cursed and cast stones and threw dust at him.

1 Kings 21:10-11

and seat two worthless men before him, and let them testify against him, saying, ‘You cursed God and the king.’ Then take him out and stone him to death.”

Treasury of Scripture Knowledge

Summary

But Abishai the son of Zeruiah answered and said, Shall not Shimei be put to death for this, because he cursed the LORD'S anointed?

Bible References

Shall not

Exodus 22:28
“You shall not curse God, nor curse a ruler of your people.
1 Kings 21:10
and seat two worthless men before him, and let them testify against him, saying, ‘You cursed God and the king.’ Then take him out and stone him to death.”

Cursed

2 Samuel 16:5
When King David came to Bahurim, behold, there came out from there a man of the family of the house of Saul whose name was Shimei, the son of Gera; he came out cursing continually as he came.
1 Samuel 24:6
So he said to his men, “Far be it from me because of the Lord that I should do this thing to my lord, the Lord’s anointed, to stretch out my hand against him, since he is the Lord’s anointed.”
1 Samuel 26:9
But David said to Abishai, “Do not destroy him, for who can stretch out his hand against the Lord’s anointed and be without guilt?”