Pinhas’s zealous and extra judiciary act opposes Moshe’s way of leadership and the justice Moshe attempted to enact in the sin of Ba’al Pe’or. Pinhas’s action is sanctioned by God because of the gravity of the situation. Eliyahu acts out of zeal and can no longer continue to be God’s messenger.