Moses was angry because the women of Midian had caused the people of Israel, through Balaam's advice, to commit sin against Yahweh. [31:16]