While Israel was staying in Shittim, the people began to prostitute themselves with the daughters of Moab,
“began to prostitute themselves with the daughters of Moab.” This would involve both physical sex and also being pulled into the worship of pagan gods. Much of the worship of pagan gods involved ritual prostitution.