2 Samuel 19:25

And it came to pass, when he was come to Jerusalem to meet the king, that the king said unto him, Wherefore wentest not thou with me, Mephibosheth?

The verse belongs to the account of David's reign that describes his victory over Absalom and his return to Jerusalem after Absalom's rebellion and defeat. It falls within the narrative of the troubles in David's family and his return after Absalom's defeat. The surrounding chapter shows David's kindness to the house of Saul continuing.

It is part of the history of the sorrows and troubles in David's own family that followed his wrong and wicked conduct toward Uriah. That retribution continued through all the rest of his life. The events of David's later history surrounding the verse fulfill the judgments foretold by Nathan after David's sin involving Uriah.

That retribution was principally in his own family, including the sad history of Amnon and Tamar and the rebellion and unnatural crimes of Absalom, with even the rebellion and death of Adonijah as part of it. The verse thus illustrates that a man receives back in kind for the wrongs he commits and reaps what he sows. Sin pays in its own kind.