I Chronicles 19:18 Midrash

וַיָּ֣נָס אֲרָם֮ מִלִּפְנֵ֣י יִשְׂרָאֵל֒ וַיַּהֲרֹ֨ג דָּוִ֜יד מֵאֲרָ֗ם שִׁבְעַ֤ת אֲלָפִים֙ רֶ֔כֶב וְאַרְבָּעִ֥ים אֶ֖לֶף אִ֣ישׁ רַגְלִ֑י וְאֵ֛ת שׁוֹפַ֥ךְ שַֽׂר־הַצָּבָ֖א הֵמִֽית׃

And the Arameans fled before Israel; and David slew of the Arameans the men of seven thousand chariots, and forty thousand footmen, and killed Shophach the captain of the host.

Read midrashic interpretation of I Chronicles 19:18: and classical rabbinic exegesis.