Psalms 106:27-33 (WEB)
27 that he would overthrow their offspring among the nations, and scatter them in the lands.
28 They joined themselves also to Baal Peor, and ate the sacrifices of the dead.
29 Thus they provoked him to anger with their deeds. The plague broke in on them.
30 Then Phinehas stood up and executed judgment, so the plague was stopped.
31 That was credited to him for righteousness, for all generations to come.
32 They angered him also at the waters of Meribah, so that Moses was troubled for their sakes;
33 because they were rebellious against his spirit, he spoke rashly with his lips.
About Psalms 106: Psalms 106 is a long prayer that looks back at the history of Israel. It begins with praise for the Lord’s goodness and mercy. The writer lists many times the people failed God. They forgot His works and did not trust Him. This chapter shows how often we stray from God. It also shows how often He saves us. Read the study notes
7 verses · Compare in parallel · Read all of Psalms 106