What the Bible says on rape. Its more or less ok if the women are enemy captives and not so ok if it's a female from your own group but you can make up for it by paying her father and marrying the victim.
"If a man is caught in the act of raping a young woman who is not engaged, he must pay fifty pieces of silver to her father. Then he must marry the young woman because he violated her, and he will never be allowed to divorce her." Deuteronomy 22:28
"When you go out to war against your enemies and the LORD, your God, delivers them into your hand, so that you take captives, if you see a comely woman among the captives and become so enamored of her that you wish to have her as wife, you may take her home to your house. But before she may live there, she must shave her head and pare her nails and lay aside her captive's garb. After she has mourned her father and mother for a full month, you may have relations with her, and you shall be her husband and she shall be your wife. However, if later on you lose your liking for her, you shall give her her freedom, if she wishes it; but you shall not sell her or enslave her, since she was married to you under compulsion." Deuteronomy 21:10
As you approach a town to attack it, first offer its people terms for peace. If they accept your terms and open the gates to you, then all the people inside will serve you in forced labor. But if they refuse to make peace and prepare to fight, you must attack the town. When the LORD your God hands it over to you, kill every man in the town. But you may keep for yourselves all the women, children, livestock, and other plunder. You may enjoy the spoils of your enemies that the LORD your God has given you.
Deuteronomy 20:10-14
When a man sells his daughter as a slave, she will not be freed at the end of six years as the men are. If she does not please the man who bought her, he may allow her to be bought back again. But he is not allowed to sell her to foreigners, since he is the one who broke the contract with her. And if the slave girl's owner arranges for her to marry his son, he may no longer treat her as a slave girl, but he must treat her as his daughter. If he himself marries her and then takes another wife, he may not reduce her food or clothing or fail to sleep with her as his wife. If he fails in any of these three ways, she may leave as a free woman without making any payment. (Exodus 21:7-11 NLT)
And Moses said unto them, Have ye saved all the women alive? ... Now therefore kill every male among the little ones, and kill every woman that hath known man by lying with him. But all the women children, that have not known a man by lying with him, keep alive for yourselves.
-- Numbers 31:15-18
Oh yeah, and if a man marries a woman (other than post raping her cases) and she is not a virgin as was considered proven by her bleeding on having sex on the sheet, then the man could bring her back to her family where the men of the community shall gather to stone her to death.
Deuteronomy 20