Phinehas killed an Israelite man who openly turned away from the Lord (Numbers 25:3–8). Because his action stopped the plague, the psalm credits him with righteousness. In this psalm he is presented as a stronger example of zeal for the Lord than Moses, who failed at Meribah (Numbers 20:11–13).