If they made a covenant with the inhabitants of the land where they were going, the inhabitants would become a trap among the Israelites.