In Parashat Emor, the Torah reports that a man born of mixed Israelite-Egyptian descent “blasphemed the Name [of God],” was placed on trial, and was stoned to death. A law was then enacted that anyone, Jewish or gentile, who blasphemes the name of God shall be put to death. Over time, in communities throughout the world, laws against blasphemy were put in place to address curses leveled at God as well as perceived slights against some religions.
In Haazinu, Moses recites a poem telling the people of Israel that they must give glory to God and be true to God whose ways are just. He instructs them to consult their elders and “remember the days of old.”