Genesis 6:18
JPS-1917וַהֲקִמֹתִ֥י אֶת־בְּרִיתִ֖י אִתָּ֑ךְ וּבָאתָ֙ אֶל־הַתֵּבָ֔ה אַתָּ֕ה וּבָנֶ֛יךָ וְאִשְׁתְּךָ֥ וּנְשֵֽׁי־בָנֶ֖יךָ אִתָּֽךְ׃
But I will establish My covenant with thee; and thou shalt come into the ark, thou, and thy sons, and thy wife, and thy sons’ wives with thee.
Rashi Commentary
והקמתי את בריתי BUT I WILL ESTABLISH MY COVENANT — A covenant was necessary for the sake of the fruits that they should not rot or decay; and also that the wicked people of that generation should not kill him (Genesis Rabbah 31:12) אתה ובניך ואשתך THOU, AND THY SONS AND THY WIFE — Males separately and females separately. From this one may infer that they were not permitted to live together in the Ark as man and wife (Sanhedrin 108b).
Other Translations
וַהֲקִמֹתִ֥י אֶת־בְּרִיתִ֖י אִתָּ֑ךְ וּבָאתָ֙ אֶל־הַתֵּבָ֔ה אַתָּ֕ה וּבָנֶ֛יךָ וְאִשְׁתְּךָ֥ וּנְשֵֽׁי־בָנֶ֖יךָ אִתָּֽךְ׃
But with thee will I establish My covenant; and thou shalt come into the ark, thou, and thy sons, and thy wife, and thy sons’ wives with thee.