Ирмеяу 1:5 Галаха: Mishneh Torah, Human Dispositions

בְּטֶ֨רֶם אצורך [אֶצָּרְךָ֤] בַבֶּ֙טֶן֙ יְדַעְתִּ֔יךָ וּבְטֶ֛רֶם תֵּצֵ֥א מֵרֶ֖חֶם הִקְדַּשְׁתִּ֑יךָ נָבִ֥יא לַגּוֹיִ֖ם נְתַתִּֽיךָ׃

До того как я образовал тебя во чреве, я знал тебя, и прежде чем ты вышел из чрева, я освятил тебя; Я назначил тебя пророком для народов.

Mishneh Torah, Human Dispositions

He who follows such conduct will not only sanctify his soul, and live in a state of purity, and improve his ideas, but if he will father children they will be refined and modest, prepared for wisdom and piety; but he who follows the conduct of the rest of the people who walk in darkness will father children in their likeness.