Psalm 106:30-34 English Standard Version (ESV)

30. Then Phinehas stood up and intervened,and the plague was stayed.

31. And that was counted to him as righteousnessfrom generation to generation forever.

32. They angered him at the waters of Meribah,and it went ill with Moses on their account,

33. for they made his spirit bitter,and he spoke rashly with his lips.

34. They did not destroy the peoples, as the Lord commanded them,

Psalm 106