in the world there are three groups of people.
The Hebrews, came from Seth. ~~ through Abraham.
The Gentiles came from Japheth.
The heathen or Canaanites came from Ham.
One of the prophets said that in the end there will be no more any Canaanites in the house of the Lord.
Haman hated the Jews that were in their kingdom. He built a gallows to hang Esther’s uncle on.
In the end, they hung Haman’s TEN sons on that same gallows.
This is showing that Jesus hung those ten commandments/law on his cross and took it out of the way.
God will gradually wean all those from Ham out of his world. They always stood on satan’s side.
Ham is the wicked one through whom that evil Adamic law crossed the flood in. He is the one who temporally deceived Noah into going back to law/animal sacrifices for a short time.
But the righteous brothers, Shem and Japheth brought Noah back to the truth and grace.