Pinchas's zealotry earns him an eternal priesthood because of going above the letter of the law and risking his own life (al pi Rashi) to exact judgement.
The Pinchas of Shoftim calls on Israel to battle Binyomin to the point of nearly exterminating the tribe. In this case the zealotry isn't a positive choice and because of this error causes thousands of Jews to perish.
I am interested in anyones findings in the Gemara, Commentary on Tanach, etc. that connect these two Pinchas individuals as the same and also discuss the topic of zealotry.