2 Samuel 16:12
"It may be that the LORD will look on mine affliction, and that the LORD will requite me good for his cursing this day."
David was far from perfect, as we all are. However, in his dealings early on with Saul, David sought the Lord and acted righteously. Several times David could have killed Saul but he didn't even though Saul have him every motivation.
So when David is cursed and reviled, he does not reach in kind nor lash out in anger. Instead he bears up under it, knowing that the only opinion that matters is God's. David knew where he stood with God, therefore no word of man could shake him
If I live righteously, striving through my failings to please and honor God, I will be able to ignore these "light, momentary afflictions," looking ahead to a reward in Heaven.
Am I living righteously? What afflictions am I going through that I can look at in a different way?