Rabbi Shimon ben Lakish said: There are names that Scripture mentions and lets rest [with honor], and names that Scripture mentions and treats with scorn. It mentions and lets rest: "See, I have called by name Bezalel son of Uri." It mentions and treats with scorn: "Achan son of Carmi son of Zabdi son of Zerach" (Joshua 7:1). It mentions and lets rest: "And there was a certain man of Ramatayim" (the father of Samuel). It mentions and treats with scorn: "And there was a certain man from the hill country of Ephraim, and his name was Micah" (Judges 17:1). It mentions and lets rest: "Number the sons of Levi" (Numbers 3:15). It mentions and treats with scorn: "Remember what Amalek did to you" (Deuteronomy 25:17). It mentions and lets rest: "And David was the son of that Ephrathite man." It mentions and treats with scorn: "And Jeroboam son of Nebat, an Ephrathite" (I Kings 11:26). It mentions and lets rest: "There was a certain Jewish man in Shushan the capital" (Mordecai). It mentions and treats with scorn: "A foe and an enemy" (Esther 7:6, of Haman). It mentions and lets rest: "For Mordecai the Jew" (Esther 10:3). It mentions and treats with scorn: "For Haman son of Hammedatha." It mentions and lets rest: "And with him was Oholiav son of Achisamach of the tribe of Dan" (Exodus 38:23). It mentions and treats with scorn: "And his mother's name was Shelomith daughter of Dibri of the tribe of Dan" (Leviticus 24:11).
When Scripture Names With Honor and When It Names With Scorn
Yalkut Shimoni on Torah 390:1
אֲמַר רַבִּי שִׁמְעוֹן בֶּן לָקִישׁ. מַדְכְּרִין וּמְנִיחִין, רְאֵה [קָרָאתִי] בְשֵׁם בְּצַלְאֵל בֶּן אוּרִי. מַדְכְּרִין וּמְשַׁחֲקִין, (יהושע ז, א) "עָכָן בֶּן כַּרְמִי בֶן זַבְדִּי בֶן זֶרַח". מַדְכְּרִין וּמְנִיחִין, "וַיְהִי אִישׁ אֶחָד מִן הָרָמָתַיִם" וְגוֹ'. מַדְכְּרִין וּמְשַׁחֲקִין, (שופטים יז, א) "וַיְהִי אִישׁ אֶחָד מֵהַר אֶפְרָיִם וּשְׁמוֹ מִיכָיְהוּ". מַדְכְּרִין וּמְנִיחִין, (במדבר ג, טו) "פְּקֹד אֶת בְּנֵי לֵוִי". מַדְכְּרִין וּמְשַׁחֲקִין, (דברים כה, יז) ["זָכוֹר] אֶת אֲשֶׁר עָשָׂה [לְךָ] עֲמָלֵק". מַדְכְּרִין וּמְנִיחִין, "וְדָּוִד בֶּן אִישׁ אֶפְרָתִי". מַדְכְּרִין וּמְשַׁחֲקִין, (מלכים א יא, כו) "וְיָרָבְעָם בֶּן נְבָט אֶפְרָתִי". מַדְכְּרִין וּמְנִיחִין "אִישׁ יְהוּדִי הָיָה בְּשׁוּשַׁן הַבִּירָה". מַדְכְּרִין וּמְשַׁחֲקִין, (שם ז, ו) "אִישׁ צַר וְאוֹיֵב". מַדְכְּרִין וּמְנִיחִין, (שם י, ג) "כִּי מָרְדֳּכַי הַיְּהוּדִי". מַדְכְּרִין וּמְשַׁחֲקִין, "כִּי הָמָן בֶּן הַמְּדָתָא". מַדְכְּרִין וּמְנִיחִין (שמות לח, כג) "וְאִתּוֹ אָהֳלִיאָב בֶּן אֲחִיסָמָךְ לְמַטֵּה דָן". מַדְכְּרִין וּמְשַׁחֲקִין, (ויקרא כד, יא) "וְשֵׁם אִמּוֹ שְׁלֹמִית בַּת דִּבְרִי לְמַטֵּה דָן".