The question of rape, or any other harmful action, is well addressed by Magicmiles: it is not a question of an absolute morality but if the action were justifiable at the time.
The question of justifiability rests mainly upon the circumstances and the culture. Just as killing someone is not an absolute affront to morality and can sometimes be seen as justifiable, so rape has also been seen as justifiable from time to time.
From the Bible we can see that rape is both justifiable and non-justifiable. Deuteronomy shows the attitude to civil rape: the punishment is either death or a fine plus a requirement to support the victim for the rest of her life. (This is still an extant rule in various tribal areas of the Middle East as we know from recent news reports.) Military rape is justifiable as can be seen in
Nu:31:18: But all the women children, that have not known a man by lying with him, keep alive for yourselves.
In OT times, a woman was property. Her father owned her and could expect a “Bride-price” on marriage. The 50 Shekels for rape of a virgin was roughly a fair price for a woman. The military rape was justifiable as the profits from looting were part of a soldier’s reward. The defeated enemy’s property became yours as of right and to do with as you saw fit. In law, there was no difference between a cup, a sheep and a woman.
Magicmiles answer, which if I understand him correctly, is “If you have qualms about it, it is probably wrong.”
Thus means that the OT soldier would have had no qualms about "taking women for himself" and it would have been right and moral.
It is a mistake to think that we can judge those of different times and cultures by our own morality – we can’t. It is far too difficult to put yourself in the position of a warrior of 4,000 years ago in another land
We should accept that this is how it was done then, and leave it at that.
What does seem to me to be wrong is involving any gods or other mythical beings in any of this. It would seem obvious that, as usual, no gods were involved in the first decision that gave rise to the laws of any civilisation: it would be self-interest that gave rise to the law.
However, it is equally obvious that “morality does not come from gods” as each god is defined by the civilisation that creates it and is an embodiment of that civilisation. The civilisation must come first, and then god’s follow.