He lived in the wilderness of Paran, and his mother took a wife for him out of the land of Egypt. Bible see other translations

“wife...Egypt.” It was the custom that the parents of the man (or teenager; most boys married in their mid to late teens) negotiated the marriage and its details with the parents of an available woman (who was usually a young teen). Thus it was according to custom that Hagar got a wife for Ishmael. She was an Egyptian, and she got an Egyptian wife, so she may have gotten a relative of hers or a contact from a relative. Samson had his parents get a wife for him, even though he knew the girl he wanted to marry (Judg. 14:2-3).

Commentary for: Genesis 21:21