2 Samuel 16:10qalal
But the king said, "What have I to do with you, O sons of Zeruiah? If he curses, and if the Lord has told him, 'Curse David,' then who shall say, 'Why have you done so?'"
David accepts Shimei's cursing as possibly allowed by the Lord.
Deuteronomy 28:20meerah
"The Lord will send upon you curses, confusion, and rebuke, in all you undertake to do, until you are destroyed and until you perish quickly, on account of the evil of your deeds, because you have forsaken Me.