1 So the king and Haman came to banquet with Esther the queen. 2 And the king said again unto Esther on the second day at the banquet of wine, What is thy petition, queen Esther? and it shall be granted thee: and what is thy request? and it shall be performed, even to the half of the kingdom. 3 Then Esther the queen answered and said, If I have found favour in thy sight, O king, and if it please the king, let my life be given me at my petition, and my people at my request: 4 For we are sold, I and my people, to be destroyed, to be slain, and to perish. But if we had been sold for bondmen and bondwomen, I had held my tongue, although the enemy could not countervail the king's damage. 5 Then the king Ahasuerus answered and said unto Esther the queen, Who is he, and where is he, that durst presume in his heart to do so? 6 And Esther said, The adversary and enemy is this wicked Haman. Then Haman was afraid before the king and the queen. 7 And the king arising from the banquet of wine in his wrath went into the palace garden: and Haman stood up to make request for his life to Esther the queen; for he saw that there was evil determined against him by the king. 8 Then the king returned out of the palace garden into the place of the banquet of wine; and Haman was fallen upon the bed whereon Esther was. Then said the king, Will he force the queen also before me in the house? As the word went out of the king's mouth, they covered Haman's face. 9 And Harbonah, one of the chamberlains, said before the king, Behold also, the gallows fifty cubits high, which Haman had made for Mordecai, who had spoken good for the king, standeth in the house of Haman. Then the king said, Hang him thereon. 10 So they hanged Haman on the gallows that he had prepared for Mordecai. Then was the king's wrath pacified.
[AD 856] Rabanus Maurus on Esther 6:14-7:6
Because Haman—who was of course the spiritual enemy of the people of God—was not wearing the garment of charity which would have made him worthy of the king’s feast, he realized that the king was angry; and when the king rushed into the garden—that is, when he invited his chosen ones to the delights of paradise—he tried to plead with the queen for his own safety but in vain, since he could not find an opportune moment for this. For once the penalty of vengeance is imminent, it is too late to look for a means of salvation.
So too in the Gospel parable, the foolish virgins ask for oil to refill their lamps when the groom is on his way, but do not receive it. So after the Groom has entered the wedding with the wise virgins, and the door has been closed, the others remain locked out and must look for a point of entry; but there is no way they can be worthy of this, since they no longer find the opportunity for absolution which they had earlier failed to seek out by doing the appropriate deeds.
One may no longer deserve there what he asks from the Lord, if he did not listen here to what he was ordered to do; once he has lost the chance to do the appropriate penance, in vain does he come with his prayers before the door of the kingdom. This is, in fact, the reason why the Lord says through Solomon: “I called and you refused; I stretched out my hand and no one paid attention; you despised all my counsel, and you ignored my reproaches. I too will laugh at your destruction, and I will mock you when that which you fear comes to pass; when sudden disaster overwhelms you, and destruction assails you like a storm. Then they will call on me but I will not listen; they will arise in the morning but will not find me” (Proverbs 1).