בֵּאדַ֗יִן בְּטֵלַת֙ עֲבִידַ֣ת בֵּית־אֱלָהָ֔א דִּ֖י בִּירוּשְׁלֶ֑ם וַהֲוָת֙ בָּֽטְלָ֔א עַ֚ד שְׁנַ֣ת תַּרְתֵּ֔ין לְמַלְכ֖וּת דָּרְיָ֥וֶשׁ מֶֽלֶךְ־פָּרָֽס׃ (פ)
דענצמאָל האָט אױפֿגעהערט די אַרבעט פֿון גאָטס הױז װאָס אין ירושָלַיִם, און זי איז געװען אָפּגעשטעלט ביז דעם צװײטן יאָר פֿון דער מלוכה פֿון דָריָוֶש דעם מלך פֿון פָרַס.
Midrash Tanchuma
Even though the inhabitants of Samaria feared God, they also worshipped their own gods. They did so until Ezra returned from Babylon with Zerubbabel and Jeshua the son of Jozadak and his officers to build the Temple, as it is said: Then rose up Zerubbabel the son of Sheatiel, and Jeshua the son of Jozadak, and began to build (Ezra 5:2). Soon thereafter, one hundred and eighty thousand Samaritans attacked them. Were they actually Samaritans? Indeed not. They were, in fact, Cuthites, who were called Samaritans only because they lived in Samaria. Furthermore, they conspired to kill Nehemiah, as it is said: Come, let us meet together in one of the villages in the plain of One (Neh. 6:2). They halted the work of rebuilding the Temple of the Holy One, blessed be He, for two years, as is said: Then ceased the work of the House of God that was in Jerusalem; and it ceased until the second year of the reign of Darius, king of Persia (Ezra 4:24).
Seder Olam Rabbah
“And in the first year of Cyrus, the king of Persia, at the completion of the word of the Lord from the mouth of Jeremiah, the Lord aroused… So said Cyrus, the king of Persia… Who is among you of all His people… And the heads of the families of Judah and Benjamin and the priests and the Levites arose…” (Ezra 1:1-5) “…forty-two thousand three hundred and sixty. Besides their slaves…” (Ezra 2:64-65) This was the overall count, but in specifics of the count they are only thirty thousand three hundred and sixty. Where did the other twelve thousand go? These are the members of the other tribes who went up. “And they set the altar on its bases… And they gave money to the quarries…” (Ezra 3:1-7) Cyrus reigned for three truncated years. “And in the reign of Ahasuerus, in the beginning of his reign… Then the work of the House of God, which was in Jerusalem, was stopped…” (Ezra 4:6-24) “In the third year of his reign, he made a banquet…” (Esther 1:3) Esther was hidden in Shushan the capitol for four years, “So Esther was taken to King Ahasuerus…” (Esther 2:16) Haman gathered spoils against Mordecai for five years, “In the first month, which is the month of Nisan, in the twelfth year of King Ahasuerus…” (Esther 3:7) On the thirteenth of Nisan Haman wrote the letters “…to destroy, kill, and cause to perish all the Jews…” (Esther 3:13) On the fifteenth of Nisan Esther went in to the king. On the sixteenth of Nisan they hung Haman. On the twenty-third of Nisan Mordecai wrote letters to contradict Haman’s decree. On the thirteenth of Adar “And the Jews smote all their enemies…” (Esther 9:5) They killed five hundred in Shushan, and they hung the ten sons of Haman because “…they wrote an accusation against the dwellers of Judea and Jerusalem.” (Ezra 4:6) “On that day, the number of those slain in Shushan the capital came before the king.” (Esther 9:11) And at that time in the coming year, it says “Now, Queen Esther, the daughter of Avichayil, and Mordecai the Jew wrote down…” (Esther 9:29) Behold, it says “For at the completion of seventy years of Babylon…” (Jeremiah 29:10) and “…since the destruction of Jerusalem seventy years.” (Daniel 9:2) Israel spent fifty-two years after the destruction of the Temple under the rule of the Chaldeans, and then they went up. Three years of Cyrus, fourteen of Ahasuerus, two of Darius. In the second year of Darius, the Temple was rebuilt. So Zechariah said “And the angel of the Lord replied and said, ‘O Lord of Hosts! How long will You not have mercy on Jerusalem and upon the cities of Judah, upon whom You are wroth for seventy years already?’” (Zechariah 1:12) The Temple stood for four years, as it says “And the completion of this House…” (Ezra 6:15) And at that time in the coming year Ezra came up from Babylon with a new group of exiles, as it says “Ezra ascended from Babylon… And there ascended from the Children of Israel… in the seventh year of King Artaxerxes… For on the first of the first month… For Ezra had prepared his heart…” (Ezra 7:6-10) He came and separated Israel from the foreign women.
Pirkei DeRabbi Eliezer
When Ezra came up (with) Zerubbabel, son of Shealtiel, and Jeshua, || son of Jehozadak, they began to build the Temple of the Lord, as it is said, "Then rose up Zerubbabel, the son of Shealtiel, and Jeshua, the son of Jozadak, and began to build the house of God" (Ezra 5:2). And the Samaritans came against them to fight (with) 180,000 (men). Were they Samaritans? Were they not Cutheans? But they were called Samaritans because of the city of Samaria. And further, they sought to kill Nehemiah, as it is said, "Come, let us meet together in one of the villages,… but they thought to do me mischief" (Neh. 6:2). Moreover, they made the work of the Lord to cease for two years ["Then ceased the work of the house of God, which is at Jerusalem]; and it ceased unto the second year of the reign of Darius, king of Persia" (Ezra 4:24).