2 Samuel 19:40

Then the king went on to Gilgal, and Chimham went on with him: and all the people of Judah conducted the king, and also half the people of Israel.

Cross-reference

2 Samuel 19:11–15 Historical context

2 Sam 19:11-15 records David's plea to Judah to bring him back — the action in this verse directly follows that command.

2 Samuel 19:37 Historical context

2 Sam 19:37 introduces Chimham as Barzillai's replacement — this verse shows Chimham actually going with David.

2 Sam 20:2 shows Israel abandoning David for Sheba — contrasting the loyalty shown here by half of Israel.