Out of curiosity, I looked it up:
They must be dividing the spoils they took: there must be a damsel or two for each man, Spoils of dyed cloth as Sisera's spoil, an ornate shawl or two for me in the spoil. (Judges 5:30 NAB)
Now kill all the boys and all the women who have slept with a man. Only the young girls who are virgins may live; you may keep them for yourselves. (Numbers 31:7-18 NLT)
Okay, first one, there's no-one commanding anyone to rape, that's just part of a song, and it doesn't actually say rape. Not proof that it wasn't implied, but the Bible usually at least says if people did the dirty deed, whether or not it was voluntary. The Bible is not really shy about that sort of topic: I refer you to one of my favorite verses, Ezekiel 23:20.
There she lusted after her lovers, whose genitals were like those of donkeys and whose emission was like that of horses.
For context, the woman spoken of is a metaphor for Israel. Not one of those "people are interpreting it as a metaphor" things, but he's actually saying "you guys are like this". In the allegory, this woman prostitutes herself in Egypt as a young girl. She grows up, and remembers those days, and starts acting more promiscuous. She's remembering those clients, who were (apparently) very well endowed and very messy. That's cutting out a good bit of the allegory, but it's enough to get the gist.
It's a pretty odd thing to put in it, but among the things that God told Ezekiel to do, it hardly stands out. This was a guy who burnt some of his beard shavings to represent the people of Israel being killed.
The second one, well, again it doesn't
say it was rape, but I can understand doubt about that. It might have been for slaves, the reason the non-virgins would have been killed was because they would have been seen as tainted by association.
On the topic of slavery, Israelite slavery was pretty decent for the time. You weren't allowed to hold someone a slave for longer than seven years; after that, you had to let them free, if they wanted to be. If they didn't (if, for example, you took good care of them, and they didn't think they could make it on their own), you went and pierced their ears, to show that they didn't want to be free. After that, then they were a slave for life.
4 Ninjas. I think I saw 12 a bit back, is someone keeping score?
and another one.