“Vayhi” – there was woe [vai haya]. Who said woe? Rabbi Avin said: As it were, the Holy One blessed be He said woe. To what is the matter comparable?
It is to a king who had a cantankerous noblewoman wife. The king said to her: Fashion for me a royal purple garment. All her days that she was engaged in that garment, she did not complain. Days later, she completed the garment and gave it to the launderer.
He prepared it and she brought it to the king. When the king saw her, he began shouting woe. Let her not return to her cantankerous nature. So, you find that Israel were complaining all the time, just as it is written: “The people complained against Moses” (Exodus 15:24), and likewise: “the entire congregation of the children of Israel complained [against Moses and against Aaron]” (Exodus 16:2), and likewise: “You have killed the people of the Lord” (Numbers 17:6).
The Holy One blessed be He demanded that they craft a Sanctuary for Him, as it is written: “They shall craft a sanctuary for Me…” (Exodus 25:8). You find that all the days that they were engaged in the labor of the Tabernacle, they were not complaining. When they completed the labor of the Tabernacle, the Holy One blessed be He was shouting woe, let them not return to complaining like they used to complain.
“Vayhi” – the firstborn said woe because the priesthood had been taken from them, as until the Tabernacle was erected, the independent altars were permitted and the service was performed by the firstborn, as it is stated: “He sent the young men of the children of Israel, and they offered up burnt offerings…” (Exodus 24:5), and likewise it is written: “You shall ascend, and Aaron with you, but the priests and the people [shall not advance to ascend]” (Exodus 19:24).
Rabbi Yehoshua ben Korḥa and Rabbi [Yehuda HaNasi]: One of them says: “The priests” – these are the firstborn; and the other said: These are Nadav and Avihu. Likewise, it is written: “The Lord broke the staff of the wicked, the rod [of rulers]” (Isaiah 14:5). Rabbi Abba bar Mamal said: These are the firstborn; because they sacrificed to the calf, they lost the priesthood. Likewise, you find that all the priests who performed service for idol worship in the first Temple, the Holy One blessed be He disqualified them in the second Temple, as it is stated: “But the priests, the Levites, sons of Tzadok, [who kept the commission of My Sanctuary when the children of Israel strayed from Me, they shall approach Me to serve Me]” (Ezekiel 44:15).
That is why the firstborn shouted woe when the Tabernacle was erected. “Vayhi” – who said woe? The ministering angels said woe. They said: Now the Holy One blessed be He will forsake us and descend and reside on earth.
Nevertheless, the Holy One blessed be He appeased them and said to them: As you live, the essence is on high, as it is written: “His glory covered the heavens” (Habakkuk 3:3), and then “His praise filled the earth” (Habakkuk 3:3). Rabbi Simon said in the name of Rabbi Yehoshua ben Levi: The Holy One blessed be He misled them when He said to them that the essence is on high. From where is that derived?
It is as it is written: “His glory is on earth and the heavens” (Psalms 148:13) – first earth and then the heavens. That is why they said woe. “Vayhi” – who said woe? The nations of the world said woe.
Why woe? It is, rather, that this is what they said: Before the Holy One blessed be He was resting in their midst, He would stand over them and fight their wars; now that they crafted a Tabernacle for Him and He resides in their midst, all the more so. That is why they said woe.