Two women married to prophets who betrayed them — and whose marriages could not save them.
The story
Under two righteous servants
Allah sets the wives of Nūḥ and Lūṭ as an example for those who disbelieve: they were married to two of His righteous servants, yet betrayed them. Ibn Kathīr explains the betrayal as disbelief — the wife of Nūḥ opposed his message, and the wife of Lūṭ sided with his people.
Their husbands could not avail them against Allah at all, and both were told to enter the Fire with those who enter. Ibn Kathīr explains that this example was given so no one thinks closeness to the righteous, even in marriage, substitutes for one's own faith.
Summaries of Ibn Kathīr's commentary on the linked āyāt, with authentic ḥadīth noted in the text where used. Verse links open Quran.com text and your chosen translation.