2 Samuel 8:4

4 aAnd David took from him 1,700 horsemen, and 20,000 foot soldiers. And David bhamstrung all the chariot horses but left enough for 100 chariots.

2 Samuel 10:18

18And the Syrians fled before Israel, and David killed of the Syrians the men of 700 chariots, and 40,000 horsemen, and wounded cShobach the commander of their army, so that he died there.
Copyright information for ESV