וְעָ֥שׂוּ לִ֖י מִקְדָּ֑שׁ וְשָׁכַנְתִּ֖י בְּתוֹכָֽם׃

(ח) וְעָ֥שׂוּ לִ֖י מִקְדָּ֑שׁ וְשָׁכַנְתִּ֖י בְּתוֹכָֽם׃

(8) And let them make Me a sanctuary that I may dwell among them.

We know the mishkan was dedicated to Hashem.Why then does the pasuk say "And let them make Me a sanctuary"?

א"ר אבהו דאמר קרא (שמות כה, ח) ועשו לי משלי יש בקדשי בדק הבית כו'

It says in Meseches Temurah on daf 31b that we learn an additional Halacha from this, that the workers who constructed the Mishkan should be paid not from pricate funds but from the funds of the mishkan itself.
(א) ועשו לי מקדש. וְעָשׂוּ לִשְׁמִי בֵּית קְדֻשָּׁה:
(1) ועשו לי מקדש AND LET THEM MAKE ME A SANCTUARY — Let them make to the glory of My Name (cf. Rashi on v. 2) a place of holiness.

(א) כאשר דבר השם עם ישראל פנים בפנים עשרת הדברות, וצוה אותם על ידי משה קצת מצות שהם כמו אבות למצותיה של תורה, כאשר הנהיגו רבותינו עם הגרים שבאים להתיהד (יבמות מז:), וישראל קבלו עליהם לעשות כל מה שיצום על ידו של משה, וכרת עמהם ברית על כל זה, מעתה הנה הם לו לעם והוא להם לאלקים כאשר התנה עמהם מתחלה ועתה אם שמוע תשמעו בקולי ושמרתם את בריתי והייתם לי סגולה (לעיל יט ה), ואמר ואתם תהיו לי ממלכת כהנים וגוי קדוש (שם יט ו), והנה הם קדושים ראוים שיהיה בהם מקדש להשרות שכינתו ביניהם ולכן צוה תחלה על דבר המשכן שיהיה לו בית בתוכם מקודש לשמו, ושם ידבר עם משה ויצוה את בני ישראל:
והנה עקר החפץ במשכן הוא מקום מנוחת השכינה שהוא הארון, כמו שאמר (להלן כה כב) ונועדתי לך שם ודברתי אתך מעל הכפרת, על כן הקדים הארון והכפרת בכאן כי הוא מוקדם במעלה, וסמך לארון השלחן והמנורה שהם כלים כמוהו, ויורו על ענין המשכן שבעבורם נעשה אבל משה הקדים בפרשת ויקהל את המשכן את אהלו ואת מכסהו (להלן לה יא), וכן עשה בצלאל (להלן לו ח), לפי שהוא הראוי לקדם במעשה:

(1) When God spoke the Ten Commandments to Israel face to face, and He commanded them through Moshe a few of the commandments, which are like the principles of the Torah's commandments - as the rabbis practice with the converts that come to be Jewish (Yevamot 47b) - and Israel accepted to do all that He would command them through the hand of Moshe, and He made a covenant with them about all of this; behold, from then they are His as a people, and He is for them a God, as He made a condition with them from the beginning - "And now if you will listen to My voice and keep My covenant and you will be a treasure to Me" (Exodus 19:5). And He [also] said (Exodus 19:6), "And you will be a kingdom of priests and a holy nation." And behold, they are holy and it is fitting that there should be a temple among them for His presence to dwell among them. And hence He first commanded about the matter of the tabernacle that He should have a house among them that would be dedicated to His name - and there would He speak with Moshe and [continue to] command the Children of Israel. And behold the main object in the tabernacle is the place that the Divine presence would rest, which is the ark, as He said (Exodus 25:22), "And I will meet with you there and I will speak with you from above the ark-cover." Therefore, He had the ark and the ark-cover precede here, as it has precedence in [its] level. And He placed next to the ark, the table and candelabra (menorah) since they are also vessels like it. And [then] they were instructed about the matter of the [actual] tabernacle, for which it was made. But in Parshat Vayakhel, Moshe had the tabernacle and the tent and the cover precede (Exodus 35:11) - and so did Betsalel (Exodus 36:8) - as it was appropriate to have it precede in the [actual] act.

The Ramban disagrees with Rashi though and says that the Mishkan was made as a place for Hashems schina to dwell.