“You may say that Esther has a bad reputation, that she was defiled with Ahasuerus, [yet] she was worthy that the Holy Spirit would be clothed in her as written, Esther put on her מַלְכוּת [Malkhut] royal apparel [Esther 5:1]. Yet the blessed Holy One said, I am YHWH: that is My Name: and My glory will I not give to another, neither my praise to graven images [Isaiah 42:8]. The Holy Spirit is the Shekhinah and is a name that was clothed with Esther.
The sages of the Mishnah say: It is said of the Matronita: and His kingdom rules over all [Psalms 103:19]. After Esther put on [royal apparel/Malkhut] she ruled over Ahasuerus and his people, and it is said of them, [But the other Jews that were in the king’s provinces gathered themselves together, and defended their lives, and had rest from their enemies,] and killed of their foes (seventy and five thousand, but they laid not their hands on the spoil) [Esther 9:16]. If you say that [Ahasuerus] mated with her, perish the thought, though they were in the same house. Rather it was like Joseph of whom it says, and she [the wife of potiphar] laid out בִּגְדוֹ his garment, by her [Genesis 39:16]. בִּגְדוֹ his garment – this is like treacherous dealers have dealt very בָּגָדוּ treacherously [Isaiah 24:16]. There is a great mystery here, which is why אֶסְתֵּר Esther, is derived from סֵתֶר [seter] secret, as written, You are סֵתֶר a hiding place, for me [Psalms 32:7], since the Shekhinah hid her from Ahasuerus and gave him a female demon instead while she returned to Mordechai’s arm. And Mordechai, who knew the explicit Name and the seventy tongues, did all this with wisdom [cf. BT Sanhedrin 17a: We appoint to the Sanhedrin only men of great stature and appearance, who are wise, old, understand witchcraft, and know all seventy languages, so that the court of justice will not need to hear testimony through an interpreter]” (Ra’aya Meheimna Ki Tetze, cf. Zohar 2:277a).