Комментарий о цитате к Диврей ха-ямим А 11:6

וַיֹּ֣אמֶר דָּוִ֔יד כָּל־מַכֵּ֤ה יְבוּסִי֙ בָּרִ֣אשׁוֹנָ֔ה יִהְיֶ֥ה לְרֹ֖אשׁ וּלְשָׂ֑ר וַיַּ֧עַל בָּרִאשׁוֹנָ֛ה יוֹאָ֥ב בֶּן־צְרוּיָ֖ה וַיְהִ֥י לְרֹֽאשׁ׃

И сказал Давид: 'Всякий, кто поражает Иевусеев первыми, будет начальником и капитаном.' И вошел Иоав, сын Саруин, и стал начальником.

Radak

unless you remove the blind and the lame – Yonatan translates this phrase as ‘unless you remove the sinners and the wicked who say that David will not come here.’ We find in the rabbinic literature that the men of Yevus said to Avraham ‘make a covenant with us that your descendants will not inherit the city of Yevus, and we will sell you the Machpela cave. He did so, and the men of Yevus made bronze idols upon which they wrote the oath and then placed in the city square. When Israel came into the land they were unable to enter the city because of the oath, as it says “And the children of Benjamin did not drive out the Jebusites that inhabited Jerusalem…” (Shoftim 1:21) When David became king he wanted to enter there but they did not allow him to, as it says “…you shall not come here…” (Shmuel II 5:6) They said to him ‘you are not able until you remove these idols upon which the oath and covenant are written’ as it says “…unless you remove the blind and the lame…” (ibid.) which are the idols that have eyes but cannot see, ears but cannot hear, legs but cannot walk - those which David’s soul loathes and which he hates to hear of them and those that worship them, as it says “Therefore they say, ‘The blind and the lame shall not come into the house.’” (Shmuel II 5:8) David said to his men ‘who ever goes up first and removes the idols will be my chief officer. Yoav went up and became his chief officer, as it says “…and Yoav the son of Zeruiah ascended first and became a chief.” (Divre HaYamim I 11:6) Afterward David purchased the city of Yevus on behalf of all Israel with gold, with an eternal deed as an everlasting possession for six hundred gold pieces, as it says “And David gave to Ornan for the place shekels of gold weighing six hundred.” (Divre HaYamim I 21:25) They further said that these two idols were at the top of the tower called Tzinor (see Shmuel II 5:8). One was blind in reference to Yitzchak and the other lame in reference to Yaakov and in their mouth was the oath which Avraham swore to Avimelech, as it says “And now, swear to me here by God, that you will not lie to me or to my son or to my grandson…” (Bereshit 21:23) Therefor Israel did not conquer it when they conquered Jerusalem because the grandson of Avimelech was still alive. But in the days of David he had already died and the oath was nullified. The wise man R’ Avraham ibn Ezra explained the phrase “…unless you remove (hisircha)…” (Shmuel II 5:6) as hasir that it to say turn towards, meaning even if the blind and the lame turn to fight you then they will keep you out. That you will not come in here because the tower is so strong and we do not fear you in battle.

Rashi

and by my God I scale a wall When he came to wage war against Jebus, and he said (in I Chron. 11:6): “Whoever smites the Jebusites, etc. shall be a leader and a prince.” Joab brought a green juniper tree, bent it over, suspended himself on it, and scaled the wall. Said David (in Ps. 141:5): “May a righteous man smite me with loving-kindness,” and the Holy one, blessed be He, lowered the wall, and he scaled it (Mid. Ps. 18:24).