"his right hand and on his left. And thus said Shimei when he cursed, Come out, come out, thou bloody man, and thou man of Belial. The Lord hath returned upon thee all the blood of the house of Saul, in whose stead thou hast reigned; and the Lord hath delivered the kingdom into the hand of Absalom thy son: and, behold, thou art taken in thy mischief, because thou art a bloody man.” PP 736.1"
The EGW passage directly quotes 2 Samuel 16:7, attributing the words to Shimei's curse against David. This is a clear and direct allusion.
2 Samuel 16:9"Then said Abishai the son of Zeruiah unto the king, Why should this dead dog curse my lord the king? let me go over, I pray thee, and take off his head."
"David's nephew, Abishai, one of the bravest of his captains, could not listen patiently to Shimei's insulting words. “Why,” he exclaimed, “should this dead dog curse my lord the king? let me go over, I pray thee, and take off his head.” But the king forbade him. “Behold,” he said, “my son ... seeketh my life: how much more now may this Benjamite do it? let him alone, and let him curse; for the Lord hath bidden him. It may be that the Lord will look on mine affliction, and that the Lord will requite me good for his cursing this day.” PP 737.1"
The EGW passage directly quotes 2 Samuel 16:9 and provides context for the interaction between Abishai and David.