5 When King David came to Bahurim, a man of the family of the house of Saul came out whose name was Shimei son of Gera; he came out cursing. 6 He threw stones at David and at all the servants of King David; now all the people and all the warriors were on his right and on his left. 7 Shimei shouted while he cursed, "Out! Out! Murderer! Scoundrel! 8 The Lord has avenged on all of you the blood of the house of Saul, in whose place you have reigned; and the Lord has given the kingdom into the hand of your son Absalom. See, disaster has overtaken you; for you are a man of blood." 9 Then Abishai son of Zeruiah said to the king, "Why should this dead dog curse my lord the king? Let me go over and take off his head." 10 But the king said, "What have I to do with you, you sons of Zeruiah? If he is cursing because the Lord has said to him, "Curse David,' who then shall say, "Why have you done so?' " 11 David said to Abishai and to all his servants, "My own son seeks my life; how much more now may this Benjaminite! Let him alone, and let him curse; for the Lord has bidden him. 12 It may be that the Lord will look on my distress, and the Lord will repay me with good for this cursing of me today." 13 So David and his men went on the road, while Shimei went along on the hillside opposite him and cursed as he went, throwing stones and flinging dust at him. 14 The king and all the people who were with him arrived weary at the Jordan; and there he refreshed himself.

15 Now Absalom and all the Israelites came to Jerusalem; Ahithophel was with him. 16 When Hushai the Archite, David's friend, came to Absalom, Hushai said to Absalom, "Long live the king! Long live the king!" 17 Absalom said to Hushai, "Is this your loyalty to your friend? Why did you not go with your friend?" 18 Hushai said to Absalom, "No; but the one whom the Lord and this people and all the Israelites have chosen, his I will be, and with him I will remain. 19 Moreover, whom should I serve? Should it not be his son? Just as I have served your father, so I will serve you."

Matthew Henry's Commentary on 2 Samuel 16:5-19

Commentary on 2 Samuel 16:5-14

(Read 2 Samuel 16:5-14)

David bore Shimei's curses much better than Ziba's flatteries; by these he was brought to pass a wrong judgment on another, by those to pass a right judgment on himself: the world's smiles are more dangerous than its frowns. Once and again David spared Saul's life, while Saul sought his. But innocence is no defence against malice and falsehood; nor are we to think it strange, if we are charged with that which we have been most careful to keep ourselves from. It is well for us, that men are not to be our judges, but He whose judgment is according to truth. See how patient David was under this abuse. Let this remind us of Christ, who prayed for those who reviled and crucified him. A humble spirit will turn reproaches into reproofs, and get good from them, instead of being provoked by them. David the hand of God in it, and comforts himself that God would bring good out of his affliction. We may depend upon God to repay, not only our services, but our sufferings.

Commentary on 2 Samuel 16:15-23

(Read 2 Samuel 16:15-23)

The wisest counsellors of that age were Ahithophel and Hushai: Absalom thinks himself sure of success, when he has both; on them he relies, and consults not the ark, though he had that with him. But miserable counsellors were they both. Hushai would never counsel him to do wisely. Ahithophel counselled him to do wickedly; and so did as effectually betray him, as he did, who was designedly false to him: for they that advise men to sin, certainly advise them to their hurt. After all, honesty is the best policy, and will be found so in the long run. Ahithophel gave wicked counsel to Absalom; to render himself so hateful to his father, that he would never be reconciled to him; this cursed policy was of the devil. How desperately wicked is the human heart!