We are learning about situations in which a woman was in the hands of pagan criminals and was assumed to have been violated by them unless we have proof otherwise. Unfortunately, that was the reality of the time.
Today the Gemara brings a Mishnah ruling that when an army invades a town, we assume the soldiers also violate the local women. This assumption is so strong that unless witnesses could testify that a woman was not violated or was in hiding, we have to assume she was molested.
Our sages ask why this ruling appears inconsistent with another teaching that we don’t need to assume that the pagan soldiers attacking a town poured out wine libations to their deities (which makes the wine forbidden for Jews). In ancient times, the idolators would always pour out some wine as an offering before drinking.
However, during war they don’t bother to take the time to pour the customary wine libations to their gods, even when they are drinking the wine. But they certainly do take the time to violate any women they can find!
Men have a hierarchy of needs, and typically reproduction is at the top. Men sent to war, to kill or die, are more likely to engage in aggressive violation to quench this thirst. Men in the clutches of sexual desire often forget their religious obligations.
This is a reminder that a healthy man does have a need for intimate pleasures, and will work hard to meed his need, even at the expense of other goals. Sex is tremendously powerful, and can be incredibly constructive or destructive.
Judaism is not a religion of ascetics who avoid this aspect of life. Our holy men marry, beget children, work day jobs, and ride the subway. Sure, they also learn and teach wisdom, but not in a remote monastery away from the rest of society.
A wise man does not avoid his natural urges, but works to develop a healthy and constructive outlet for them. Once you have this aspect of life taken care of, you will find a lot more energy available for your other goals.