It states (25:11) הֵשִׁיב ה ַכֹּהֵן אַה ֲרֹן בֶּן א ֶלְע ָזָר בֶּן פ ִּינְחָס יִשְׂרָאֵל בְּנֵי מֵעַל חֲמָתִי אֶת, "Pinchas the son of Elazar the son of Aharon the Kohen turned back My wrath from upon Bnei Yisrael."
It states (Bamidbar 20:19) אֶע ֱבֹרָה בְּר ַגְלַי דָבָר אֵין רַק. Slonimer tzaddikim explain, ָרדָב אֵין רַק, Bnei Yisrael daven to Hashem and say that they have only one request: אֶע ֱבֹרָה בְּר ַגְלַי, enable me to go beyond my רגילות, standard behaviors, and to serve Hashem beyond my negative tendencies.
The Midrash (Vayikra Rabba 25:1) states, "When a person performs an aveirah, he is שמים בידי מתיה חייב, he is deserving of death from Heaven. What can a person do and live? If he used to study one page, now he should study two pages. If he used to study one chapter, now he should study two chapters." This is because the concept of teshuvah is to change one's routines. As it states (Yeshayah 55:7) אָוֶן וְא ִישׁ דַּרְכּוֹ ָׁערָש יַע ֲזֹב וִֽירַחֲמ ֵ הוּ 'ה אֶל וְיָשֹׁב מַחְש ְׁבֹת ָיו, "Let the rasha forsake his way and let the baal aveirah abandon his thoughts; let him return to Hashem, and He will have mercy on him." Therefore, he should change his nature and study more than before, and this will atone for his sins and place him on the path of teshuvah.
Why does the Torah tell us Pinchas's yichus here, that he was the son of Elazar and a grandson of Aharon? (Rashi discusses this issue.)