Psalms 106:29-33

KJV_Cambridge(i) 29 Thus they provoked him to anger with their inventions: and the plague brake in upon them. 30 Then stood up Phinehas, and executed judgment: and so the plague was stayed. 31 And that was counted unto him for righteousness unto all generations for evermore. 32 They angered him also at the waters of strife, so that it went ill with Moses for their sakes: 33 Because they provoked his spirit, so that he spake unadvisedly with his lips.