Devarim22:8

כִּי תִבְנֶה בַּיִת חָדָשׁ וְעָשִׂיתָ מַעֲקֶה לְגַגֶּךָ וְלֹא־תָשִׂים דָּמִים בְּבֵיתֶךָ כִּי־יִפֹּל הַנֹּפֵל מִמֶּנּוּ׃

When you build a new house, you shall make a parapet for your roof, so that you do not bring blood upon your house if anyone falls from it.

Devarim 22:8

כִּי תִבְנֶה בַּיִת

Devarim / Deuteronomy 22:8 · Sod

Devarim 22:8

כִּי תִבְנֶה בַּיִת חָדָשׁ וְעָשִׂיתָ מַעֲקֶה לְגַגֶּךָ וְלֹא־תָשִׂים דָּמִים בְּבֵיתֶךָ כִּי־יִפֹּל הַנֹּפֵל מִמֶּנּוּ׃

When you build a new house, you shall make a parapet for your roof, so that you do not bring blood upon your house if anyone falls from it.

Sod סוֹד

Reward as preparation

You have been given more than you need to live. You can simply rejoice. Or you can ask: what has this been given to me for?

Shem MiShmuel: this world is a corridor, the world to come is the hall. The reward for a mitzvah is the goal, so it comes in the world of the goal. But if the reward is needed to fulfill more mitzvot, it becomes preparation itself and comes already here. So the new house comes for the sake of the parapet.

How Shem MiShmuel explain it

Shem MiShmuel When you build a new house

Rashi explained: if you fulfilled the mitzvah of sending away the bird from the nest, in the end you will build a new house and fulfill the mitzvah of the parapet, for a mitzvah draws a mitzvah, and you will come to a vineyard, a field and fine garments. End of his words.

This although there is no reward for a mitzvah in this world. That is because this world is a world of preparation: "Prepare yourself in the corridor so that you may enter the hall." And the world to come is the world of the goal. So the reward for a mitzvah, which is the goal, comes in the world of the goal.

But all this holds when the reward is the end of the intent and the goal. If a person needs the reward in order to fulfill more mitzvot with it, then the reward too is preparation, and then it exists in this world as well. And this is: "Remember us for life," and so on, "for Your sake, living Almighty." And we have already spoken of this.

Takeaway

"There is no reward for a mitzvah in this world" are words of the Talmud (Kiddushin 39b).
"This world is like a corridor before the world to come: prepare yourself in the corridor so that you may enter the hall" are words of the Mishnah (Avot 4:16).
"Remember us for life, King who desires life, for Your sake, living Almighty" is a prayer of the days of judgment, from Rosh Hashanah to Yom Kippur. A person asks for life not for himself but in order to serve.
This continues the same explanation of Rashi given at the Pshat level: a mitzvah draws a mitzvah.