In Egyptian mythology, Khem (also Chem, Ham) was a god of fertility and the patron deity of the Egyptian civilization. In art, he was usually portrayed wearing women's clothing.
There is little doubt that this Egyptian god is related to the Old Testament character, Ham, son of Noah and progenitor of Mizraim (the hebrew term for Egypt). Ham is rumored to have engaged in homosexual acts with his unconcenting and intoxicated father Noah. In light of this historical account, Arabs have traditionally called Egypt 'Chema' or 'the land of Chem' (this is likely the origin of the word 'Alchemy' which, according to the Arabs originated in Egypt).
Wikipedia (2004). Chem (http://en.wikipedia.org/wiki/Chem). Retrieved Sept. 21, 2004.