Quoting Commentary for II Kings 17:9

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

and the children of Israel did impute things that were not right unto the LORD their God, and they built them high places in all their cities, from the tower of the watchmen to the fortified city;

Ibn Ezra

The fortress also shall cease, etc. When Sennacherib came, Damascus had been already conquered and also Samaria with its fortresses.4According to the Hebrew text: When Sennacherib came, he took (תפש) Damascus and also Samaria with its fortresses. This is incorrect, for Tiglath Pileser took Damascus in the time of Ahaz (2 Kings 16:7—10), and Shalmaneser conquered Samaria (ibid. 17:9, 10) in the sixth year of King Hezekiah; Sennacherib entered Judah in the fourteenth year of King Hezekiah. This incorrectness is probably not the fault of I. E., but that of the copyist; for if we read instead of תפש, the Niphal נתפשה, and translate for when Sennacherib came, Damascus was already conquered, Samaria with its fortresses likewise, we have a better construction of the sentence, and no contradiction of the account given in the Book of Kings. I. E. refers the prophecy of this chapter to the period of the Assyrian invasion under Sennacherib.
Ask a RabbiBookmarkShareCopy