As long as the spouse is successfully vaccinated with hepatitis B vaccine, it will not be infected and will not affect the life and fertility of husband and wife at all.
If the spouse is also a hepatitis B virus carrier, it does not mean that the next generation cannot be born. It's just that social concepts have created the status quo.