The sin of Phogor. . .The sin committed in the worship of Beelphegor.

31:17. Therefore kill all that are of the male sex, even of the children: and put to death the women, that have carnally known men.

Of children. . .Women and children, ordinarily speaking, were not to be killed in war, Deut. 20.14. But the great Lord of life and death was pleased to order it otherwise in the present case, in detestation of the wickedness of this people, who by the counsel of Balaam, had sent their women among the Israelites on purpose to draw them from God.

31:18. But the girls, and all the women that are virgins save for yourselves:

31:19. And stay without the camp seven days. He that hath killed a man, or touched one that is killed, shall be purified the third day and the seventh day.

31:20. And of all the spoil, every garment, or vessel, or any thing made for use, of the skins, or hair of goats, or of wood, shall be purified.

31:21. Eleazar also the priest spoke to the men of the army, that had fought, in this manner: This is the ordinance of the law, which the Lord hath commanded Moses:

31:22. Gold, and silver, and brass, and iron, and lead, and tin,

31:23. And all that may pass through the fire, shall be purified by fire, but whatsoever cannot abide the fire, shall be sanctified with the water of expiation:

31:24. And you shall wash your garments the seventh day, and being purified, you shall afterwards enter into the camp.