Hagar took a wife for Yishmael from Mitzrayim. Paroh means ‘king’ in Egyptian, and the word: פָּרוּעַ means wild. In Egypt, nobody knew who his father was, because it was a free-for-all society, and Yishmael took 9 out of 10 קַבִּים portions of Z’nus. (Gemara). Mitzrayim מִצְרַיִם comes from the word: מֵיצָר Meitzar i.e., boundary. A person who is wild (Paroh type) is really in the jail of his Yetzer Hara. “Paroh” and “Mitzrayim” are words that work together.
The wild, Hefker (unrestricted) person is in the “jail’’ of his Yetzer Hara. הַשִּׁבְיִי קָשִׁה מִכּוּלָּם (B’B 8b). Captivity is the worst predicament. All those who have pity on the unfortunate broken-hearted hostages should know that being a hostage in the hands of your own Yetzer Hara is much worse! They say in the name of R’ Yisroel Salanter Zatzal why Arabs are always sad (their culture and music, etc.), since Chazal say that 10 קַבִּים Kav’s (portions) of Z’nus were given to the world and Yishmael got 9, he’s always crying over the 10th Kav!