I think that this is undoubtedly given to introduce into the story the future bride of Isaac, and to show that she came from the wife and not from the concubine. So she was also from Abraham’s family, so Isaac married within the family of his father.