25But murmured in their tents, and hearkened not unto the voice of the LORD. 26Therefore he lifted up his hand against them, to overthrow them in the wilderness: 27To overthrow their seed also among the nations, and to scatter them in the lands. 28They joined themselves also unto Baalpeor, and ate the sacrifices of the dead.29Thus they provoked him to anger with their inventions: and the plague brake in upon them. 30Then stood up Phinehas, and executed judgment: and so the plague was stayed. 31And that was counted unto him for righteousness unto all generations for evermore.