The women invited them to their sacrifices to their false gods. The Israelites ate food there and worshiped these gods.