וַיַּ֤עַשׂ דָּוִד֙ שֵׁ֔ם בְּשֻׁב֕וֹ מֵהַכּוֹת֥וֹ אֶת־אֲרָ֖ם בְּגֵיא־מֶ֑לַח שְׁמוֹנָ֥ה עָשָׂ֖ר אָֽלֶף׃
David gained fame when he returned from defeating-g Edom in the Valley of Salt, 18,000 in all.
למחות זרעו מן העולם - שנצטוינו למחות זרעו של עמלק ולאבד זכרו מן העולם, זכר ונקבה, גדול וקטן, ועל זה נאמר (דברים כה יט) ''תמחה את זכר עמלק'', שבכלל זכר הוא הכל. וכבר טעה בנקוד תבה זו גדול הדור, והוא יואב בן צרויה, והשאיר מהם הנקבות, לפי שרבו לא השגיח יפה עליו כשלמדו מקרא זה ונשתבש יואב וקרא זכר במקום זכר כמו שבא בבבא בתרא פרק לא יחפר (כא, ב).
To blot out his seed from the world: That we were commanded to blot out the seed of Amalek and to destroy his memory from the world — male and female, old and young. And about this is it stated (Deuteronomy 25:19), “you shall blot out the memory (zekher) of Amalek” — as all are included in “the memory.” And a great man of the generation (gadol hador) already erred in the vocalization of this word — and that was Yoav ben Tseruyah — and he left over the females from them. As many were those that did not pay careful attention when they learned this verse and Yoav jumbled [it] and read “male” (zakhar) instead of “memory” (zekher), as it comes [down] in Bava Batra 21b in the chapter [entitled] Lo Yachpor.
וַיְהִ֗י בִּֽהְי֤וֹת דָּוִד֙ אֶת־אֱד֔וֹם בַּעֲל֗וֹת יוֹאָב֙ שַׂ֣ר הַצָּבָ֔א לְקַבֵּ֖ר אֶת־הַחֲלָלִ֑ים וַיַּ֥ךְ כָּל־זָכָ֖ר בֶּאֱדֽוֹם׃
When David was in Edom, Joab the army commander went up to bury the slain, and he killed every male in Edom;
