(ד) תּוֹרָ֥ה צִוָּה־לָ֖נוּ מֹשֶׁ֑ה מוֹרָשָׁ֖ה קְהִלַּ֥ת יַעֲקֹֽב׃
(ח) וְהֵבֵאתִ֤י אֶתְכֶם֙ אֶל־הָאָ֔רֶץ אֲשֶׁ֤ר נָשָׂ֙אתִי֙ אֶת־יָדִ֔י לָתֵ֣ת אֹתָ֔הּ לְאַבְרָהָ֥ם לְיִצְחָ֖ק וּֽלְיַעֲקֹ֑ב וְנָתַתִּ֨י אֹתָ֥הּ לָכֶ֛ם מוֹרָשָׁ֖ה אֲנִ֥י יְהוָֽה׃
(יב) רַבִּי יוֹסֵי אוֹמֵר, יְהִי מָמוֹן חֲבֵרָךְ חָבִיב עָלֶיךָ כְּשֶׁלָּךְ. וְהַתְקֵן עַצְמָךְ לִלְמוֹד תּוֹרָה, שֶׁאֵינָהּ יְרֻשָּׁה לָךְ. וְכָל מַעֲשֶׂיךָ יִהְיוּ לְשֵׁם שָׁמָיִם:
(12) Rabbi Yosi says: The money of your friend should be as dear to you as your own. Prepare yourself to study Torah, for it is not an inheritance for you. All of your actions should be for the sake of Heaven.
(יט) וְעַתָּה כִּתְבוּ לָכֶם אֶת הַשִּׁירָה הַזֹּאת וְלַמְּדָהּ אֶת בְּנֵי יִשְׂרָאֵל שִׂימָהּ בְּפִיהֶם לְמַעַן תִּהְיֶה לִּי הַשִּׁירָה הַזֹּאת לְעֵד בִּבְנֵי יִשְׂרָאֵל.
(19) Now therefore write this song for you, and teach it to the children of Israel; put it in their mouths, that this song may be a witness for Me against the children of Israel.
(א) לכתב כל אחד ספר תורה לעצמו - שנצטוינו להיות לכל איש מישראל ספר תורה...
משרשי המצוה, לפי שידוע בבני אדם שהם עושין כל דבריהם לפי ההכנה הנמצאת להם, ועל כן צונו ברוך הוא להיות לכל אחד ואחד מבני ישראל ספר תורה מוכן אצלו שיוכל לקרות בו תמיד ולא יצטרך ללכת אחריו לבית חברו.
For each person to write a Torah scroll for oneself - we have been commanded for each person in Israel to own a Torah scroll...
Among the roots of this mitzvah, it is because it is well-known among people that they do everything according to that which they find prepared for themselves, and therefore God commanded us, each and every one of the Children of Israel, to have a Torah scroll prepared and available to him, so that he can read it always and will not have to go looking for it at his friend's house.