In the story’s era it should have been the wife that gets replaced or the husband will take in another wife and not the wife getting impregnated by a random man. lol.