Complex sentence: Abraham was greatly distressed by his wife's words and God told Abraham not to be distressed but to do as his wife commanded because not only would Isaac carry the Abrahamic line, but a nation would come from the line of Ishmael as well.
Split into simpler sentences: Abraham was greatly distressed by his wife's words and sought the advice of God. Yahweh told Abraham not to be distressed but to do as his wife commanded because not only would Isaac carry the Abrahamic line, but a nation would come from the line of Ishmael as well.