Wherever did you get this idea? There is a large body of documentation regarding the slavery practiced by the ancient Egyptians. Indeed, one of the great Biblical myths (Moses) revolves directly around this very concept. While the treatment of them in Egypt was noticeably more humane than in other ancient cultures, slavery was nonetheless evident.
A good place to start research on this topic is
here.