This paper explores the roles of technology and religious morality in ecological sanitation as presented in Deuteronomy 23:10-15. The travelling Israelites were admonished to designate a place outside their camp for defecation when they went out to war. They were also asked to dig before they defecate and to cover it before leaving it behind. The reason given in the text for such a command is the fact that the Israelites were to be aware of the presence of Yahweh in their midst. By a literary reading of the text, the paper proposes that if the ecological sanitation that was commanded to be observed in the camps of the ancient Israelites was successful, it was as a result of their morality and awareness of the presence of God. Hence, morality has a role to play in the preservation of ecological sanitation. The text seems to reiterate the message: cleanliness is next to godliness. In addition, their observance of ecological sanitation was successful because of the technological development of the period. The paper postulates that the adjustments of the war implement to enable digging can represent today`s technological advancements within our ranks. Thus, from the context of Deuteronomy 23:10-15, the implementation of ecological sanitation in our world today can be achieved through the use of religious morality and available technology.