Берешит 35:1 Мидраш: Bamidbar Rabbah, Midrash Tanchuma, Sefer HaYashar (midrash) & Midrash Tanchuma Buber

וַיֹּ֤אמֶר אֱלֹהִים֙ אֶֽל־יַעֲקֹ֔ב ק֛וּם עֲלֵ֥ה בֵֽית־אֵ֖ל וְשֶׁב־שָׁ֑ם וַעֲשֵׂה־שָׁ֣ם מִזְבֵּ֔חַ לָאֵל֙ הַנִּרְאֶ֣ה אֵלֶ֔יךָ בְּבָרְחֲךָ֔ מִפְּנֵ֖י עֵשָׂ֥ו אָחִֽיךָ׃

И сказал Бог Иакову: 'Встань, пойди в Вифель и живи там; и сделай там жертвенник Богу, Который явился тебе, когда ты убежал от лица Исава, брата твоего.'

Bamidbar Rabbah

“Take the Levites in place of all the firstborn among the children of Israel, and the animals of the Levites in place of their animals; the Levites shall be Mine, I am the Lord” (Numbers 3:45).
“Take the Levites…” – our Rabbis said: Why did the Holy One blessed be He command to redeem the firstborn of Israel with the Levites? It is because initially the firstborn were performing the sacrificial service, until the tribe of Levi arose, as our Rabbis taught: Until the Tabernacle was established, private altars were permitted and the sacrificial service was performed by the firstborn. From the establishment of the Tabernacle, private altars were prohibited and the sacrificial service was performed by the priests.7 Zevaḥim 112b. Know that the firstborn were sacrificing until the tribe of Levi arose; take proof from the beginning of the creation of the world. Adam the first man was the firstborn of the world. When he sacrificed his offering, as it is stated: “May it please the Lord more than a bull with horns and hooves” (Psalms 69:32), he donned the vestments of the High Priest, as it is stated: “The Lord God made for Adam and for his wife hide tunics, and clothed them” (Genesis 3:21). They were praiseworthy garments, and the firstborn would perform the service in them. When Adam died, he bequeathed them to Seth. Seth gave them to Methuselah. When Methuselah died, he bequeathed them to Noah. Noah arose and sacrificed an offering, as it is stated: “He took from every pure animal…[and offered up burnt offerings]” (Genesis 8:20).
Noah died, and he bequeathed them to Shem. Was Shem the firstborn? Was it not Yefet who was the firstborn, as it is stated: “Brother of Yefet the eldest” (Genesis 10:21)? Why, then, did he bequeath them to Shem? It is because Noah foresaw that the line of the patriarchs would be established from him. Know that Shem would sacrifice, as it is stated: “And Malkitzedek8Commenting on this verse, Rashi quotes a midrash (perhaps from Bereshit Rabba 56) that identifies Malkitzedek with Shem the son of Noah. king of Shalem…[he was a priest of God the Most High]” (Genesis 14:18). Was priesthood granted to him? Priesthood was not given until Aaron stood. What is it that it says here: “He was a priest”? It is because he would sacrifice like priests.
Shem died, and he bequeathed it to Abraham. Was Abraham the firstborn? Rather, because he was righteous, the birthright9I.e., the status of firstborn. was passed to him and he sacrificed, as it is stated: “He offered it up as a burnt offering in place of his son” (Genesis 22:13). Abraham died, and bequeathed it to Isaac.
Isaac arose and gave it to Jacob. Was Jacob firstborn? It is, rather, that you find that Jacob took it from Esau cunningly. He said to him: “Sell me your birthright today” (Genesis 25:31). Do you think, perhaps, that it was for nothing that Jacob said to Esau that he should sell him the birthright? No. It is, rather, that Jacob sought to sacrifice, but he could not because he was not a firstborn. Esau said: What do I want with this birthright, as it is stated: “Esau said: Behold, I am going to die, [and why do I need a birthright]” (Genesis 25:32). At that moment, Ezekiel’s prophecy applied in his regard and said to him: “Surely, you hated blood, and blood will pursue you” (Ezekiel 35:6). Did Esau hate blood? Did he not kill several righteous men, did he not kill several pious men, and it says: “Surely, you hated blood, and blood will pursue you”? Rather, he said to him: ‘Surely, you hated the blood of an offering,’ as he was firstborn, and the firstborn sacrifice. Therefore, “blood will pursue you.” At that moment, when Jacob acquired the birthright, he began sacrificing, as it is stated: “God said to Jacob: Arise, ascend to Beit El…and make there an altar…” (Genesis 35:1).
Likewise, when Moses sacrificed at Sinai, it was the firstborns who sacrificed, as it is stated: “He sent the lads of the children of Israel, [and they offered up burnt offerings]” (Exodus 24:5). Who are the “lads”? They were the elite of the firstborn. “They offered up burnt offerings” – you learn that no person would sacrifice other than the firstborn.
When Israel performed that deed,10They sinned with the Golden Calf. they said: Let the firstborn come and sacrifice offerings before it, as it is stated: “They arose early the next day, and they offered up burnt offerings and they presented peace offerings” (Exodus 32:6). God said to them: ‘I promoted the firstborn, and I rendered them prominent in the world, but they rejected Me and arose and sacrificed before the calf. I will remove the firstborn and bring in the children of Levi.’ Therefore, God said to Moses that he should count them, as it is stated: “Count the children of Levi” (Numbers 3:15).
Rabbi Yehuda HaLevi said: Who whispered to you that God removed the firstborn from sacrificial rites and appointed the children of Levi, as it is stated: “Take the Levites”? In place of whom? “In place of all the firstborn among the children of Israel, and the animals of the Levites in place of their animals; the Levites shall be Mine, I am the Lord.” The Rabbis said: To what is this matter comparable? To a provincial money changer regarding whom a matter of corruption was attributed. The king knew, and said to his governor, ‘remove him and appoint another in his place.’ Nevertheless, that money changer is found to be obligated to repay a debt. The king said: Let the one who inherited his place repay his debt. So, the firstborn were prominent in the world, but arose and sacrificed before the calf. God said: Let the firstborn depart, and let the children of Levi enter. Nevertheless, the firstborn incurred liability to be eliminated. God said: Let the Levites come and redeem them. Therefore, you find the Levites redeeming the firstborn. That is what is written: “Take the Levites…”
“And the animals of the Levites in place of their animals” – because priests and Levites are exempt from redeeming their firstborn, the firstborn of man and the firstborn of a donkey, [the latter of] which is likened by the verse to the firstborn of man, as it is written: “However, you shall redeem [the firstborn of man], and the firstborn of an impure animal you shall redeem” (Numbers 18:15). But they are not exempt from [redeeming] the firstborn of a pure animal, as it is sacred. What is, “the Levites shall be Mine, I am the Lord”? I am trustworthy to pay them a good reward because they sanctified My Name at the time of the calf.

Midrash Tanchuma

And God said unto Jacob: “Arise, go up to Beth-El” (Gen. 35:1). May our master teach us: How many times is a man’s “account book”7The heavenly ledger wherein man’s deeds are recorded. open? Thus did our masters teach us: A man’s account book is opened three times: when he journeys alone upon a highway; when he resides in a dilapidated house; when he vows and fails to fulfill. R. Aha the son of Jacob deduced the first statement from the biblical verse If harm befall him by the way (Gen. 42:3). R. Eliezer the son of R. Yosé the Galilean stated: If you should discover that a righteous man is setting out on a journey, leave even three days earlier or three days later in order to travel with him. But if you should see a wicked man setting out on a journey, leave three days earlier or three days later in order not to go with him, as it is said: Set thou a wicked man over him; and let an adversary stand at his right hand (Ps. 109:6). A righteous man, however, is accompanied by angels of peace, as it is said: For He will give his angels charge over thee (ibid. 91:11).

Midrash Tanchuma

The Holy One, blessed be He, declared: How long shall this righteous man continue to be punished without comprehending the sin for which he is being afflicted? Indeed, I will inform him. And it is written: God said unto Jacob: “Arise, go up to Beth-El, and dwell there” (Gen. 35:1). R. Aibu said: When your sieve is clogged, strike it.9A proverb telling us that Jacob’s mind had become clogged, causing him to forget his vow, and so God beat upon it by causing him to suffer. The Holy One, blessed be He, told him: These trials have befallen you only because you have not fulfilled your vow. If you do not wish to experience other afflictions, Arise, go up to Beth-El, dwell there, and erect an altar, at the very place at which you made your vow. I am the God of Beth-El, where thou didst anoint a pillar, where thou didst vow a vow unto Me (ibid. 31:13). R. Abba the son of Kahana stated: The Holy One, blessed be He, said to Jacob: When a man has problems he will make a vow, but when he is enjoying ease and comfort he will quickly disregard his vow. When you were in difficulty you made a vow, but after you attained security you forgot it. Then Jacob said unto his household, and to all that were with him: “Let us arise, and go up to Beth-El” (ibid. 35:2–3).