Devarim / Deuteronomy 26:1 · Drash
וְהָיָה כִּי־תָבוֹא אֶל־הָאָרֶץ אֲשֶׁר יְהוָה אֱלֹהֶיךָ נֹתֵן לְךָ נַחֲלָה וִירִשְׁתָּהּ וְיָשַׁבְתָּ בָּהּ׃
And it shall be, when you come into the land which the Eternal your Almighty gives you as an inheritance, and you possess it and dwell in it,
Drash דְּרָשׁ
Prayer instead of fruit
A habit that held your life together suddenly becomes impossible. Something has to take its place, or everything falls apart. The midrash tells how Moshe took care of this in advance.
Midrash Tanchuma (Buber): Moshe (Moses) foresaw that the Temple would be destroyed and first fruits would stop. So he set three prayers a day, for prayer is dearer to the Almighty than a hundred good deeds. And Moshe himself prayed to enter the land.
How Midrash Tanchuma (Buber) explain it
Midrash Tanchuma (Buber) And it shall be, when you come into the land
"This day the Eternal your Almighty commands you to do" (Devarim / Deuteronomy 26:16). Of this the verse says: "Come, let us bow down and bend, let us kneel" (Tehillim / Psalms 95:6). What does "let us bow down and bend" teach? Moshe (Moses) saw that the Temple would be destroyed and first fruits would cease. He rose and set for Israel to pray three times every day, for prayer is dearer to the Holy One, blessed is He, than a hundred good deeds.
When it was decreed that Moshe would not enter the land, he began to pray and said: "Let me cross over and see" (Devarim / Deuteronomy 3:25). The Holy One, blessed is He, answered him: "Enough for you, speak to Me no more of this. Go up to the top of Pisgah" (Devarim / Deuteronomy 3:26–27). Therefore it says: "The Eternal your Almighty commands you to do".
Takeaway
Three prayers a day: morning, afternoon and evening. The midrash ties them to Moshe: when the Temple and first fruits are gone, prayer will take their place.
"Let us bow down and bend": the bowing of the one who brought first fruits before the Almighty, "and bow down before the Eternal your Almighty" (Devarim / Deuteronomy 26:10).
Moshe's plea to enter the land and the answer "Enough for you" are in Devarim / Deuteronomy 3:23–27. The midrash brings them as an example: Moshe himself prayed, though he knew the decree.