Psalm 106:28-35 English Standard Version (ESV)

28. Then they yoked themselves to the Baal of Peor,and ate sacrifices offered to the dead;

29. they provoked the Lord to anger with their deeds,and a plague broke out among them.

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,

35. but they mixed with the nationsand learned to do as they did.

Psalm 106