Shemot40:17

וַיְהִי בַּחֹדֶשׁ הָרִאשׁוֹן בַּשָּׁנָה הַשֵּׁנִית בְּאֶחָד לַחֹדֶשׁ הוּקַם הַמִּשְׁכָּן׃

And it was in the first month of the second year, on the first of the month, that the Mishkan was set up.

Shemot 40:17

וַיְהִי בַּחֹדֶשׁ הָרִאשׁוֹן

Shemot / Exodus 40:17 · Remez

Shemot 40:17

וַיְהִי בַּחֹדֶשׁ הָרִאשׁוֹן בַּשָּׁנָה הַשֵּׁנִית בְּאֶחָד לַחֹדֶשׁ הוּקַם הַמִּשְׁכָּן׃

And it was in the first month of the second year, on the first of the month, that the Mishkan was set up.

Remez רֶמֶז

Three times "was set up"

A rare word in Tanakh works like a thread. If it appears only three times, one can ask what ties these places together.

Baal HaTurim: "was set up" appears three times: of the Mishkan, of David and of the sons of Yonadav (Jonadab), who kept their father's words. Lekach Tov: "And it was" here and "one day" at creation hint that the joy on this day was like the day heaven and earth were created.

How Kitzur Ba'al HaTurim and Midrash Lekach Tov explain it

Kitzur Ba'al HaTurim Was set up

Three times in Tanakh: "the Mishkan was set up," "says the man who was set up on high" (Shmuel II / II Samuel 23:1), that is David, and "the words of Yonadav (Jonadab) son of Rechav (Rechab) are upheld" (Yirmeyahu / Jeremiah 35:14). David merited this because he set up the Temple, as it is written: "See now, I dwell in a house of cedar" (Shmuel II / II Samuel 7:2). And of the sons of Yonadav son of Rechav it says "are upheld," because they upheld their father's words. So they merited what is said: "Yonadav son of Rechav shall not lack a man standing before Me all the days" (Yirmeyahu / Jeremiah 35:19).

Midrash Lekach Tov And it was in the first month

This is Nisan, as it says: "It shall be the first for you" (Shemot / Exodus 12:2). It is the month in which our father Avraham was told of Yitzchak (Isaac), the month in which Israel was redeemed from Egypt, and the month in which Israel will be redeemed in the future. Our teachers, of blessed memory, said: the seven days of consecration came before the new moon of Nisan. On the twenty-second of Adar they began setting up the Mishkan. Our teacher Moshe set it up every day, they ate the holy offerings there, and he took it down again, all seven days. And on the eighth day, the new moon of Nisan, he set it up and did not take it down again.

It was taught: that day took ten crowns. It was first for the acts of creation, first for the months, first for the priesthood, first for the service, first for the descent of fire from heaven, first for the dwelling of the Presence of God in Israel, first for the blessing of Israel, first for eating holy offerings, first for the tribal princes and first for the ban on private altars. So in the words of those who say that "on the eighth day Moshe called" was on the new moon of Nisan. And on that day there was joy before the Holy One, blessed is He, as on the day heaven and earth were created. Here it is written: "And it was in the first month," and there it is written: "And there was evening and there was morning, one day" (Bereshit / Genesis 1:5).

Takeaway

Yonadav (Jonadab) son of Rechav (Rechab) told his descendants not to drink wine and not to build houses. They kept this for centuries, and the prophet Yirmeyahu (Jeremiah) holds them up as an example to the people (Yirmeyahu / Jeremiah 35).
Here the consecration begins on the twenty-second of Adar, while Malbim on Shemot / Exodus 40:2 writes "the twenty-third." The Sages also differ on this.
The link of "And it was" (וַיְהִי) here with "And there was evening" (וַיְהִי עֶרֶב) is a way of reading by the same word in two places.