Devarim Rabbah 1:6
Another thing, “These are the Devarim (words),” Rabbi Shmuel bar Nachman: The Holy Blessed One said my children are like bees (devorim) as they conduct themselves after tzaddikim (the righteous) and after the prophets. (Just as bees follow after their queen and build one generation upon the next.)
Another thing, “These are the Devarim,” just as a bee’s honey is sweet and its sting is bitter, so too are the words of Torah. Every one who strays against them receives their verdict, as it says, “The adulterer and the adulteress shall be put to death.” (Lev. 20:10) … and everyone who upholds them merits life, as it says, “That they may lengthen your days.” (Ex. 20:12)
Another thing, “These are the Devarim,” just as the bee has honey for her master and a sting for others, so too the words of Torah. They are a medicine of life to Israel, and a medicine of death for those that worship idols.
Rabbi Yehudah in the name of Rabbi Simon in the name of Rabbi Levi said: Just as the bee, everything it treasures it treasures for its master, so to all that Israel treasures from the mitzvot and good deeds, all of this is held as treasure by us for our God in heaven….