4 David captured 1,000 of his chariots, 1,700 horsemen, and 20,000 foot soldiers. David hamstrung all the chariot horses except for enough to supply 100 chariots.
2 Samuel 8:4 Cross References - ISV
Deuteronomy 17:16
16 Only he must not amass horses for himself or cause the people to return to Egypt to obtain more horses. For the LORD said you must never return that way again.
Joshua 11:6
6 But the LORD told Joshua, “Don’t be afraid of them, because tomorrow about this time I am giving them all to you—dead—in the presence of Israel. Hamstring their horses and incinerate their chariots.”
Joshua 11:9
9 Joshua dealt with them just as the LORD had told him: he hamstrung their horses and incinerated their chariots.
1 Kings 10:26
26 Solomon accumulated chariots and cavalry. He had 1,400 chariots and 12,000 cavalry soldiers. He stationed them in various chariot cities and with the king in Jerusalem.
1 Chronicles 18:4
4 David confiscated 1,000 chariots, 7,000 horsemen, and 20,000 foot soldiers from him, and hamstrung all of the chariot horses except for a reserve force of 100 chariots.
Psalms 20:7
7 Some boast in chariots, others in horses; but we will boast in the name of the LORD our God.