Дварим 21:17 Каббала: Derech Etz Chayim (Ramchal)

כִּי֩ אֶת־הַבְּכֹ֨ר בֶּן־הַשְּׂנוּאָ֜ה יַכִּ֗יר לָ֤תֶת לוֹ֙ פִּ֣י שְׁנַ֔יִם בְּכֹ֥ל אֲשֶׁר־יִמָּצֵ֖א ל֑וֹ כִּי־הוּא֙ רֵאשִׁ֣ית אֹנ֔וֹ ל֖וֹ מִשְׁפַּ֥ט הַבְּכֹרָֽה׃ (ס)

но он должен признать первенца, сына ненавистного, дав ему двойную часть всего, что он имеет; ибо он - первый плод его силы, право первенца принадлежит ему.

Derech Etz Chayim (Ramchal)

...Behold, that goodness is in his hands and he controls the decision, whether to educate himself and understand or to remain naked of all wisdom, even though the heart and mind are contained within his body. It is readily apparent that there are two things created sharing similar functions: Man's intellect and and The Torah that imparts the intelligence.