In the Ivri (עִבְרִי) / Hebrew (ἑβραιου) text of 2 Samuel 8:4 - David (דָּוִ֜ד) does not "hamstrung" chariot horses. The horses would be "Neutered" ( יְעַקֵּר ).
- "And-Neutered" ( Va-Ye'aqer, וַיְעַקֵּר ) [https://www.pealim.com/dict/5081-leaker/]
2 Samuel 8:4 [MT]
"And David took from him a thousand and seven hundred horsemen, and twenty thousand footmen; and David neutered all the chariot horses, and reserved of them for a hundred chariots." ( וַיִּלְכֹּ֨ד דָּוִ֜ד מִמֶּ֗נּוּ אֶ֚לֶף וּשְׁבַע־מֵאוֹת֙ פָּרָשִׁ֔ים וְעֶשְׂרִ֥ים אֶ֖לֶף אִ֣ישׁ רַגְלִ֑י וַיְעַקֵּר דָּוִד֙ אֶת־כָּל־הָרֶ֔כֶב וַיּוֹתֵ֥ר מִמֶּ֖נּוּ מֵ֥אָה רָֽכֶב )