There's been a few commentaries on this topic of late, so i'm offering a few more thoughts.
Here's an extract from 2 Samuel 12, consider for a moment the implications.
7 Then Nathan said to David, “You are the man! This is what the Lord, the God of Israel, says: ‘I anointed you king over Israel, and I delivered you from the hand of Saul. 8 I gave your master’s house to you, and your master’s wives into your arms. I gave you all Israel and Judah. And if all this had been too little, I would have given you even more.
So no individual choice for these women. They seem to be just property, Iike Saul's 'house.' Even if they didn't want to be given to David, they became his property.
But read a little further and ... and YHWH threatens to give David's women to someone else.
11 “This is what the Lord says: ‘Out of your own household I am going to bring calamity on you. Before your very eyes I will take your wives and give them to one who is close to you, and he will sleep with your wives in broad daylight. 12 You did it in secret, but I will do this thing in broad daylight before all Israel.’”
And we note that their next owner was going to have sex with these women in public, because that was YHWH's way of punishing David. So again women appear to be, in YHWH's mind, just property.
That threat didn't happen, because David repented, but YHWH punishes someone else, who suffers death because David did something wrong.
We can think about YHWH's next threat in the next post.