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?

Cross-reference

In 2 Samuel 16:17, Absalom asks Hushai 'Why did you not go with your friend?'—the same question David asks Mephibosheth about loyalty.

2 Samuel 21:7 Historical context

2 Samuel 21:7 shows David sparing Mephibosheth because of the oath to Jonathan—explaining the background for David's lenient questioning.