They also asked Rav Mattana: From where in the Torah can one find an allusion to the hanging of Haman? He replied: The verse states after Adam ate from the tree of knowledge: “Have you eaten of [hamin] the tree, about which I commanded you that you should not eat?” (Genesis 3:11). Hamin is spelled in the same manner as Haman: Heh, mem, nun.
(Chullin 139b)
Curiously, the same event is interpreted by the Gnostics as the revelation of the gnosis of salvation.
Nihil enim in speciem fallacius est quam prava religio. -Liv. xxxix. 16.