וְהָיְתָ֣ה עִמּ֔וֹ וְקָ֥רָא ב֖וֹ כָּל־יְמֵ֣י חַיָּ֑יו לְמַ֣עַן יִלְמַ֗ד לְיִרְאָה֙ אֶת־יְהוָ֣ה אֱלֹהָ֔יו לִ֠שְׁמֹר אֶֽת־כָּל־דִּבְרֵ֞י הַתּוֹרָ֥ה הַזֹּ֛את וְאֶת־הַחֻקִּ֥ים הָאֵ֖לֶּה לַעֲשֹׂתָֽם׃
און דאָס זאָל זײַן בײַ אים, און ער זאָל לײענען דערין אַלע טעג פֿון זײַן לעבן, כּדי ער זאָל לערנען מוֹרא צו האָבן פֿאַר ה׳ זײַן גאָט, צו היטן אַלע װערטער פֿון דער דאָזיקער תּוֹרה, און די דאָזיקע געזעצן, זײ צו טאָן;
Mishneh Torah, Kings and Wars
When the king sits on the throne of his monarchy, he must write a Sefer Torah for himself, this in addition to the Sifrei Torah which were left for him by his forefathers. He checks his Sefer against the one18It was an ancient Sefer Torah. in the Temple Courtyard, in accordance with the Court of Seventy-One. If his forefathers did not leave him a Sefer or if it was lost, he has to write two Sifrei Torah. The first one will be kept in his Repository; this is the same Commandment which all of Israel must observe. The second one must never leave his side, other than when he goes to the lavatory or the bath or a place where it would be improper to read from it19e.g. a cemetery.. When he goes to war, it is with him. When he returns, it is with him. When he sits in judgment, it is with him. When he eats20Lit., reclines., it is next to him, as it says, “And it shall be with him, and he shall read from it all the days of his life” (Deut. 17:19).
Mishneh Torah, Kings and Wars
The king must not drink himself drunk, as it says, “not for kings is the drinking of wine” (Proverbs 31:4). Rather, he must be engaged in Torah and the needs of Israel, day and night, as it says, “and it shall be with him, and he shall read from it all the days of his life” (Deut. 17:19).
Mishneh Torah, Kings and Wars
Similarly, he must not be preoccupied with women. Even if he has but one (wife) he should not be found by her all the time as with the fools, and as it says, “Give not your strength to women” (Proverbs 31:3). Regarding the steering of his heart away, the Torah has already been exacting and said, “Do not veer your heart” (Deut. 17:17). For his heart is the heart of the entire Congregation of Israel. Therefore, Scriptures has attributed to him that which is written in the Torah, more so than any other member of the nation, saying, “all the days of his life” (Deut. 17:19).