Num Numbers, chapter Book of Numbers, chapter 25
So make an announcement that I am granting him my peace agreement. It will be an agreement that ensures a permanent priesthood for him and his descendants, because he was passionately dedicated to his God and set the Israelites right.”