Parshat Vayeshev is primarily about the shevatim and Yosef's descent into Mitsrayim. However, the parsha begins with a seemingly unassuming pasuk to bridge a gap of time and location, telling us: ויּשב יעקב בארץ מגורי אביו בארץ כנען"׃" which is typically explained as telling us that Yaakov was now residing in Canaan. However, knowing the background of who Yaakov was, the pasuk has a much deeper implication.
We're introduced to Yaakov as a 15 year old who is yoshev ohalim, a boy who studied in yeshiva all day. With this central trait, when it comes time for Yitzhak to task Yaakov with undertaking his part of the mission of the avot (i.e., to start a family that would ultimately become the shevatim), Yitzhak specifically commands him "Kum! lech..." (lit. 'rise, go...'). Given that we know Yaakov was yoshev ohalim, this superfluous inclusion of "kum" might indicate that Yitzhak is telling his son that in order to prepare his children for the impending galut, Yaakov needs to get out of the yeshiva and gain some 'real world' experience that he can pass on to his children who will ultimately need that knowledge to survive in Mitsrayim.
Yaakov avinu seems to have understood his father's message and began to worry. As soon as he begins his journey to Lavan's house (and immediately after get following his first nevua), he makes a conditional promise to HaShem: if while Yaakov is outside of Canaan, HaShem prevents Yaakov from falling off the derech and from falling under the influence of those around him while living in the 'outside world', when Yaakov returns to his father's house, he will dedicate himself to the service of HaShem. Interestingly, when Yaakov makes his promise, he uses the same lashon that we've come to associate with Yaakov's personality: "v'shavti b'Shalom..." (commonly translated as "and when I return in peace). Given that HaShem already promised to return Yaakov to Canaan (https://www.sefaria.org/Genesis.28.15?lang=bi&aliyot=0), it is unnecessary to have a condition of returning in peace. Instead, consistent with Yaakov's nature (especially prior to entering Lavan's house), he is telling HaShem that if He assists him in maintaining his Torah values while away, upon his return, he will resume his yeshiva learning [and refrain from the mundane activities that he suspects he will be engaged in while outside Canaan].
(Note that with this understanding, when Yaakov says shavti b'Shalom he could mean either to 'learn in peace' or to 'learn about / of HaShem'.)
Fast forward to Yaakov's return to Canaan at the beginning of Parshat Vayeshev. When the pasuk tells us וישב יעקב בארץ מגורי אביו בארץ כנען, it is simultaneously telling us that two promises have been fulfilled: HaShem's promise to Yaakov to return him to his father's land (https://www.sefaria.org/Chizkuni%2C_Genesis.28.15.1) and Yaakov's promise to rededicate himself to the service of HaShem in the pursuit of all day learning (https://www.sefaria.org/Genesis.28.20).
וַיֵּ֣שֶׁב יַעֲקֹ֔ב בְּאֶ֖רֶץ מְגוּרֵ֣י אָבִ֑יו בְּאֶ֖רֶץ כְּנָֽעַן׃
וַיִּקְרָ֥א יִצְחָ֛ק אֶֽל־יַעֲקֹ֖ב וַיְבָ֣רֶךְ אֹת֑וֹ וַיְצַוֵּ֙הוּ֙ וַיֹּ֣אמֶר ל֔וֹ לֹֽא־תִקַּ֥ח אִשָּׁ֖ה מִבְּנ֥וֹת כְּנָֽעַן׃ ק֥וּם לֵךְ֙ פַּדֶּ֣נָֽה אֲרָ֔ם בֵּ֥יתָה בְתוּאֵ֖ל אֲבִ֣י אִמֶּ֑ךָ וְקַח־לְךָ֤ מִשָּׁם֙ אִשָּׁ֔ה מִבְּנ֥וֹת לָבָ֖ן אֲחִ֥י אִמֶּֽךָ׃ וְאֵ֤ל שַׁדַּי֙ יְבָרֵ֣ךְ אֹֽתְךָ֔ וְיַפְרְךָ֖ וְיַרְבֶּ֑ךָ וְהָיִ֖יתָ לִקְהַ֥ל עַמִּֽים׃ וְיִֽתֶּן־לְךָ֙ אֶת־בִּרְכַּ֣ת אַבְרָהָ֔ם לְךָ֖ וּלְזַרְעֲךָ֣ אִתָּ֑ךְ לְרִשְׁתְּךָ֙ אֶת־אֶ֣רֶץ מְגֻרֶ֔יךָ אֲשֶׁר־נָתַ֥ן אֱלֹקִ֖ים לְאַבְרָהָֽם׃
... והשבתיך אל האדמה הזאת וכן כתיב וישב יעקב אל יצחק אביו.
והשיבותיך אל האדמה הזאת, “I will bring you back to this soil;” this promise was fulfilled as stated in Genesis 35,27: וישב יעקב אל יצחק אביו “Yaakov returned to his father Yitzchok.”
וְשַׁבְתִּ֥י בְשָׁל֖וֹם אֶל־בֵּ֣ית אָבִ֑י וְהָיָ֧ה ה' לִ֖י לֵאלֹקִֽים׃
והיה לי לאלקים, ר"ל שיהיה מתבודד לעבודת האלקים ולא יתעסק עוד בעסקי העולם כל ימיו...
והיה ה' לי לאלוקים, this was the gist of the vow, meaning that he would concentrate on the service of the Lord and minimise any mundane activities.