2 Samuel 10:13

And Joab drew nigh, and the people that were with him, unto the battle against the Syrians: and they fled before him.

This battle belongs to the wars that grew from a coalition formed against David after his message of sympathy was misread by Hanun's counselors and his ambassadors were insulted by the Ammonites, with the surrounding nations then joining the Ammonites against Israel. The verse shows Israel taking the offensive rather than waiting for invasion, with Joab leading the Hebrew forces across the Jordan toward the Ammonite capital. Before advancing, he charged his men to be of good courage and behave valiantly for their people and for the cities of God, while leaving the outcome to what is good in the Lord's sight.

His advance put the Syrians to flight and overcame the united allied forces in the first engagement, as part of the conflict and victories that followed this hostile alliance. The contest was renewed the next year with an immense Syrian army, until David took the field in person and by the blessing of God defeated the allies disastrously. After that defeat the Syrians from Lebanon to the Euphrates gave up the war and became tributary to Israel, while David pressed the war against the Ammonites until their strongholds fell and the whole region came under Israel's dominion.