Devarim4:44

וְזֹאת הַתּוֹרָה אֲשֶׁר־שָׂם מֹשֶׁה לִפְנֵי בְּנֵי יִשְׂרָאֵל׃

And this is the Torah that Moshe set before the children of Israel.

Devarim 4:44

וְזֹאת הַתּוֹרָה אֲשֶׁר־שָׂם

Devarim / Deuteronomy 4:44 · Remez

Devarim 4:44

וְזֹאת הַתּוֹרָה אֲשֶׁר־שָׂם מֹשֶׁה לִפְנֵי בְּנֵי יִשְׂרָאֵל׃

And this is the Torah that Moshe set before the children of Israel.

Remez רֶמֶז

The medicine of life

The verb "set" (שָׂם) sounds almost like the word "drug" (סַם). The sages hear a hint in this likeness: the Torah can heal, and it can also poison.

Rabbi Yehoshua ben Levi: the Torah that Moshe "set" (שָׂם) is a drug (סַם): if one merits, it is a medicine of life, if not, a poison of death. Rava: for one who works at it properly it is a medicine of life, for one who does not, a poison of death. Lekach Tov: the verse comes right after the cities of refuge. As they shelter from the blood avenger, so words of Torah shelter from the angel of death.

How Talmud, Yoma and Midrash Lekach Tov explain it

Talmud, Yoma "And this is the Torah that Moshe set" (Devarim / Deuteronomy 4:44)

Rabbi Yehoshua ben Levi said: what is the meaning of what is written: "And this is the Torah that Moshe set (שָׂם)"? If he merits, it becomes for him a medicine (סַם) of life, if he does not merit, it becomes for him a poison of death. And this is what Rava said: for one who works at it properly, it is a medicine of life, and for one who does not work at it properly, it is a poison of death.

Midrash Lekach Tov And this is the Torah

It teaches: just as the cities of refuge shelter from the blood avenger, so words of Torah shelter from the angel of death.

Takeaway

שָׂם ("set, laid out") and סַם ("drug", both medicine and poison) differ only by a letter: ש and ס sound the same.
The cities of refuge are three cities east of the Yarden (Jordan), where one who killed by mistake could flee (Devarim / Deuteronomy 4:41–43). Our verse comes right after them.