2 Samuel 17:25

17:25 Absalom had made Amasa general in command of the army in place of Joab. (Now Amasa was the son of an Israelite man named Jether, who had married Abigail the daughter of Nahash and sister of Zeruiah, Joab’s mother.)

2 Samuel 19:8

19:8 So the king got up and sat at the city gate. When all the people were informed that the king was sitting at the city gate, they all came before him.

David Goes Back to Jerusalem

But the Israelite soldiers had all fled to their own homes.