2 Samuel 16:13 in the King James Version
And as David and his men went by the way, Shimei went along on the hill’s side over against him, and cursed as he went, and threw stones at him, and cast dust.
Context
12 It may be that the LORD will look on the wrong done to me, and that the LORD will repay me good for the cursing of me today.”
13 So David and his men went by the way; and Shimei went along on the hillside opposite him and cursed as he went, threw stones at him, and threw dust.
14 The king and all the people who were with him arrived weary; and he refreshed himself there.