RE: Back in those days under the law someone could take another person as a “slave” for an unpaid debt, but it wasn’t slavery as we think of it today as they could only be kept in servitude until the debt was paid or 7 years whichever came first.
Let’s take the case of Hagar the servant of Abraham and Sarah for instance... she was told to have sexual relations with Abraham to sire a child ( Ishmael ) by Sarah. Did she have a choice in the matter? What if she said no?
Could someone who was in servitude for say, 7 years be forced to do what Hagar was told to do?
Depends on the laws at the time.
Recall that, even OUTSIDE of slavery, at that point in time women were property of their husbands.