Shemot4:22

וְאָמַרְתָּ אֶל־פַּרְעֹה כֹּה אָמַר יְהוָה בְּנִי בְכֹרִי יִשְׂרָאֵל׃

And you shall say to Pharaoh: 'Thus says the Eternal: Israel is My son, My firstborn.

Shemot 4:22

וְאָמַרְתָּ אֶל־פַּרְעֹה כֹּה

Shemot / Exodus 4:22 · Sod

Shemot 4:22

וְאָמַרְתָּ אֶל־פַּרְעֹה כֹּה אָמַר יְהוָה בְּנִי בְכֹרִי יִשְׂרָאֵל׃

And you shall say to Pharaoh: 'Thus says the Eternal: Israel is My son, My firstborn.

Sod סוֹד

The main thing and the secondary

The word "firstborn" sounds again later in the Torah: "sanctify to Me every firstborn" (13:2). Kedushat Levi links these verses and asks: what in life is the main thing, and what only serves it? And Shelah speaks of the mother in whom the Shechinah dwells.

Kedushat Levi: there are two kinds of people who do business after their study. One thinks business is the main thing. The other knows: the main thing is Torah, prayer and good deeds, and business is only needed for them. So in the world: Israel is the "firstborn", the purpose of creation, and all else serves the purpose. Whoever understands this will plead for mercy on Israel. Shelah cites the Zohar: as long as Israel does the will of the Holy One, blessed is He, He makes His dwelling in the community of Israel, for Israel is His firstborn, and the community of Israel is the mother.

How Kedushat Levi and Shnei Luchot HaBrit explain it

Kedushat Levi

"And the Eternal spoke to Moshe, saying: sanctify to Me every firstborn" etc. (Shemot / Exodus 13:1–2). And let us explain the meaning of the verse "My son, My firstborn, Israel" (Shemot / Exodus 4:22) by a parable. One who learns and is occupied with the service of the Blessed Name, and after learning is occupied with business, is of two kinds. One is without understanding: it seems to him that business is the main thing. And the second kind is the understanding one, who has a pure heart and knows in truth that the main purpose of the creation of all the worlds is to be occupied with Torah, prayer, commandments and good deeds. And business is only what is needed for the service of the Blessed Name, and it is secondary to the main thing, which is the purpose, namely Torah and good deeds. For this is the purpose, and the main point of creation was for the sake of Israel, the holy people, and all the nations are secondary to the main thing. And by the parable and its meaning let every man of Israel who wishes to be sanctified with the holiness of the Blessed Name go: let him understand that the beginning of creation was Israel, the holy people, and let him arouse mercy on Israel, that the Blessed Name pour on them abundance of blessing, success and all good. And this is the meaning of "sanctify to Me": if you wish to be sanctified with the holiness of the Blessed Name. "Every firstborn among the children of Israel": know that the firstborn is Israel, who are called "My son, My firstborn, Israel", and they were the purpose of creation. And for this let there be "the opener of every" (womb), as in "one who lets out water" (Mishlei / Proverbs 17:14): let all your speech be mercy on the children of Israel, that is, to arouse mercy on Israel, that the Blessed Name pour on them abundance of blessing: children, life, sustenance and healing. Amen.

Shnei Luchot HaBrit

Further there: all the time that Israel do the will of the Holy One, blessed is He, the Holy One, blessed is He, makes His dwelling in the community of Israel. Why? Because Israel is the firstborn son of the Holy One, blessed is He, as it is written: "My son, My firstborn, Israel" (Shemot / Exodus 4:22). And the mother is the community of Israel, as it is written: "and do not forsake the teaching of your mother" (Mishlei / Proverbs 1:8).

Takeaway

"Letting out (פּוֹטֵר) water is the beginning of strife" (Mishlei / Proverbs 17:14). "Peter rechem" (פֶּטֶר רֶחֶם), "opener of the womb", is the firstborn. Kedushat Levi hears in "rechem" (רֶחֶם), "womb", the word "rachamim" (רַחֲמִים), "mercy".
Knesset Yisrael (כְּנֶסֶת יִשְׂרָאֵל), "the community of Israel", is in Kabbalah the Shechinah, mother of the people. The father is the Holy One, blessed is He, and Israel is their firstborn.