Hello, I need a grammatical correction in the following excerpt from my essay,

"We can see the benefits of having a husband for a woman in the following excerpt..."
My teacher circled the phrase "having a husband for a woman" (which means that there is something wrong with it) and I was wondering how could I correct it.
Thank You

Maybe you need to say "We can see the benefits of a woman having a husband..."