There is evidence that the Egyptians took slaves from wars they had with neighboring civilizations.
Slavery was common practice in many ancient civilizations, including the Israelites/Hebrews .
More info from Wiki ....
Chattel slavery[edit]
The Chattel slaves were mostly captives of war and were brought over to different cities and countries to be sold as slaves. All captives, including civilians not a part of the military forces, become a royal resource. The pharaoh would then resettle the captives by moving them into colonies for labour, giving them to temples, giving them as rewards to deserving individuals, and giving them to his soldiers as loot. Some chattel slaves began as free people who were found guilty of committing illicit acts and were forced to give up their freedom. Other chattel slaves were born into the life from a slave mother.[7]
Bonded laborers[edit]
Ancient Egyptians were able to sell themselves and children into slavery in a form of bonded labor. Self-sale into servitude was not always a choice made by the individuals’ free will, but rather a result of individuals who were unable to pay off their debts.[8] The creditor would wipe the debt by acquiring the individual who was in debt as a slave, along with his children and wife. The debtor would also have to give up all that was owned. Peasants were also able to sell themselves into slavery for food or shelter.[3][4]
Some slaves were bought in slave markets near the Asiatic area and then bonded as war prisoners. Not all were from foreign areas outside of Egypt but it was popular for slaves to be found and collected abroad. This act of slavery grew Egypt’s military status and strength. Bonded laborers dreamed of emancipation but never knew if it was ever achievable. Slaves foreign to Egypt had possibilities of return to homelands but those brought from Nubia and Libya were forced to stay in the boundaries of Egypt.[9][10]
The term "Shabti"[edit]
One type of slavery in ancient Egypt granted captives the promise of an afterlife. Ushabtis were funerary figures buried with deceased Egyptians. Historians have concluded these figures represent an ideology of earthly persons' loyalty and bond to a master. Evidence of ushabtis shows great relevance to a slavery-type system. The captives were promised to be granted an afterlife in the beyond if they obeyed a master and served as a laborer. The origin of this type of slavery is difficult to pinpoint but some say the slaves were willing to be held captive in return for entrance into Egypt. Entrance into Egypt could also be perceived as given "life". Willingness of enslavement is known as self-sale.[6] Others suggest that shabtis were held captive because they were foreigners.[6] The full extent of the origins of shabtis are unclear but historians do recognize that women were paid or compensated in some way for their labor, while men were not. However payment could come in many forms. Although men did not receive monetary wages, shabtis were promised life in the netherworld and that promise could be perceived as payment for them.[10] So Shabtis are associated with bonded labor but historians speculate some sort of choice for the Shabtis.
In the slave market, bonded laborers were commonly sold with a 'slave yoke' or a 'taming stick' to show that the slave was troublesome.[11] This specific type of weaponry to torture the slave has many local names in Egyptian documents but the preferred term is called 'shebya'. There are other forms of restraint used in Ancient Egypt slave markets more common than the shebya, like ropes and cords.
Forced labor[edit]
Several departments in the Ancient Egyptian government were able to draft workers from the general population to work for the state with a corvée labor system. The laborers were conscripted for projects such as military expeditions, mining and quarrying, and construction projects for the state. These slaves were paid a wage, depending on their skill level and social status for their work. Conscripted workers were not owned by individuals, like other slaves, but rather required to perform labor as a duty to the state. Conscripted labor was a form of taxation by government officials and usually happened at the local level when high officials called upon small village leaders
There is a consensus among Egyptologists that the Great Pyramids were not built by slaves. Rather, it was farmers who built the pyramids during flooding, when they could not work in their lands.[13][14] The construction of the pyramids is not specifically mentioned in the Bible either.[15] The allegation that Jewish slaves built the pyramids was in fact made by Jewish historian Josephus in his book Antiquities of the Jews, writing “They [the Egyptian taskmasters] set them also to build pyramids.”.[16] Christian field archeologist David Down also acknowledged that Josephus' allegation has been dismissed by archeologists.[16]
Egyptian slaves, specifically during the New Kingdom era, originated from foreign lands. The slaves themselves were seen as an accomplishment to Egyptian kings’ reign, and a sign of power. Slaves or b3k were seen as property or a commodity to be bought and sold. Their human qualities were disregarded and were merely seen as a property to be used for a master’s labor. Unlike the more modern term, “serf”, Egyptian slaves were not tied to land; the owner(s) could use the slave for various occupational purposes. The slaves could serve towards the productivity of the region and community. Slaves were generally men, but women and families could be forced into the owner’s household service.[5]