When the Israelites lived at Shittim, the people made themselves impure by having illicit sex with Moabite women.