כָּל הַמְאַבֵּד שֵׁם מִן הַשֵּׁמוֹת הַקְּדוֹשִׁים הַטְּהוֹרִים שֶׁנִּקְרָא בָּהֶם הַקָּדוֹשׁ בָּרוּךְ הוּא לוֹקֶה מִן הַתּוֹרָה. שֶׁהֲרֵי הוּא אוֹמֵר בַּעֲבוֹדַת כּוֹכָבִים (גמרא שבת קכ ב) "וְאִבַּדְתֶּם אֶת שְׁמָם מִן הַמָּקוֹם הַהוּא לֹא תַעֲשׂוּן כֵּן לַה' אֱלֹהֵיכֶם":
Anyone who erases one of the holy, pure Names by which G-d is called is flogged biblically for it says regarding idolatry "and though shalt destroy their names from that place; thou shalt not do so to the LORD thy god."
