In ancient times the land that is now called Egypt was called by the people, then inhabiting that part of Africa, Kam, a word that means black or dark-colored and referred to the dark color of the muddy soil in their land. To the Hebrews this name was known as Khám or Ham and in the Bible the Egyptians are referred to as Sons of Ham or Children of Ham.
these people had a God called Ptah to whom they raised a temple--the temple was called He-Ka-ptah or House of Kä--of Ptah. This name, that was in the beginning confined to Memphis, gradually spread to other parts of the Nile Valley, and by degrees the whole country became known as HeKapath, to other people with whom these people had contact.