Sexual activity while on military duty
Sexual activity while on military duty was expressly forbidden by law in ancient Israel. It brought about ritual impurity and therefore forced a soldier to undergo purification rituals. This would prevent him from performing his military duty.