1 Chronicles 19:17 NIV

17 When David was told of this, he gathered all Israel1 and crossed the Jordan; he advanced against them and formed his battle lines opposite them. David formed his lines to meet the Arameans in battle, and they fought against him.

References for 1 Chronicles 19:17