There is no King in Israel that is exalted by the Jews like David. Solomon had much more wealth, wisdom, and spent almost all of his life in peace and calm yet David is the favourite King.
So it is very interesting that the same king, by the ancestors of the same people, was treated in a way that he had to fear his life all the time and take his complaint about his enemies to the Lord. These enemies cannot be just Saul and his son, Absalom - since these people not necessarily after his life. They mock him! Yeah, they mock David, the man after Lord's heart.
I suppose not much changes in the history. The most celebrated people of Israel were actually mocked, hated, attacked, chained and even killed at their time.