To include it would be giving it a weight and influence that was completely out of proportion to any historic influence that the Egyptian captivity had upon Egypt, which was negligible.
It would be like writing a history of Rome without mentioning Romulus and Remus and the she-wolf...the story is a part of the history. It can be addressed as a legend and debunked. NOT mentioning it at all is effectively to mock the story.