Devarim28:2

וּבָאוּ עָלֶיךָ כָּל־הַבְּרָכוֹת הָאֵלֶּה וְהִשִּׂיגֻךָ כִּי תִשְׁמַע בְּקוֹל יְהוָה אֱלֹהֶיךָ׃

And all these blessings shall come upon you and overtake you, if you listen to the voice of the Eternal your Almighty.

Devarim 28:2

וּבָאוּ עָלֶיךָ כָּל־הַבְּרָכוֹת

Devarim / Deuteronomy 28:2 · Drash

Devarim 28:2

וּבָאוּ עָלֶיךָ כָּל־הַבְּרָכוֹת הָאֵלֶּה וְהִשִּׂיגֻךָ כִּי תִשְׁמַע בְּקוֹל יְהוָה אֱלֹהֶיךָ׃

And all these blessings shall come upon you and overtake you, if you listen to the voice of the Eternal your Almighty.

Drash דְּרָשׁ

Take it on, and they come

Sometimes the main thing is the first step: to agree, to take it on. The rest follows. The midrash reads the promise of blessings this way.

Lekach Tov: take the mitzvot upon yourself, and the blessings will come by themselves. There is one condition: to listen to the voice of the Almighty.

How Midrash Lekach Tov explain it

Midrash Lekach Tov And all these blessings shall come upon you

Take it upon yourself, and the blessings come by themselves. "And overtake you, if you listen to the voice of the Eternal your Almighty": on condition that you listen, the blessings come upon you.

Takeaway

"Take it upon yourself": the midrash reads "upon you" (עָלֶיךָ) as what a person takes upon himself, the mitzvot.
The midrash reads "if" (כִּי) as a condition: the blessings will come on condition that the person listens.