Ashrei - אשרי

אמר רבי אלעזר א"ר אבינא כל האומר (תהלים קמה, א) תהלה לדוד בכל יום שלש פעמים מובטח לו שהוא בן העולם הבא מאי טעמא אילימא משום דאתיא באל"ף בי"ת נימא (תהלים קיט, א) אשרי תמימי דרך דאתיא בתמניא אפין אלא משום דאית ביה (תהלים קמה, טז) פותח את ידך נימא הלל הגדול דכתיב ביה (תהלים קלו, כה) נותן לחם לכל בשר אלא משום דאית ביה תרתי

Rabbi Eliezer said in the name of Rav Avina: Anyone who says "Tehilla L'david" (Psalms 145) 3 times every day is promised that he is a member of the world to come. Why? If you say it is because it uses the Aleph Bet, let us say "Ashrei T'mimei Derech" (Psalms 119) that does it eight times! Rather [we say "Tehilla L'david"] because it has "You open Your hand" (Psalms 145:17). Then let us say Hallel HaGadol in which it is written "He gives bread to all flesh" (Psalms 136:25)! Rather because it ["Tehilla L'david"] has both.

How does Ashrei work as a free pass to the world to come?

אותו היום הביאו כל טהרות שטיהר ר"א ושרפום באש ונמנו עליו וברכוהו ואמרו מי ילך ויודיעו אמר להם ר"ע אני אלך שמא ילך אדם שאינו הגון ויודיעו ונמצא מחריב את כל העולם כולו מה עשה ר"ע לבש שחורים ונתעטף שחורים וישב לפניו ברחוק ארבע אמות אמר לו ר"א עקיבא מה יום מיומים אמר לו רבי כמדומה לי שחבירים בדילים ממך אף הוא קרע בגדיו וחלץ מנעליו ונשמט וישב על גבי קרקע זלגו עיניו דמעות לקה העולם שליש בזיתים ושליש בחטים ושליש בשעורים ויש אומרים אף בצק שבידי אשה טפח
On that day they burned all the pure things R. Eliezer had declared pure; they voted upon him and excommunicated him. They asked “Who will go and inform him?” R. Akiva said, “I will go, lest an improper person inform him and all the earth will be destroyed.” What did R. Akiva do? He dressed in black and sat before him at a distance of four Amot. R. Eliezer said: “Akiva, what is today from all days?” He said, “My master, it appears to me your friends distanced themselves from you.” R. Eliezer too tore his clothes, removed his shoes and sat on the ground his eyes flowed tears. The earth was stricken, a third in olives, a third in wheat, a third in barley. Some say: even dough in a woman’s hand spoiled....

אימא שלום דביתהו דר"א אחתיה דר"ג הואי מההוא מעשה ואילך לא הוה שבקה ליה לר"א למיפל על אפיה ההוא יומא ריש ירחא הוה ואיחלף לה בין מלא לחסר איכא דאמרי אתא עניא וקאי אבבא אפיקא ליה ריפתא אשכחתיה דנפל על אנפיה אמרה ליה קום קטלית לאחי אדהכי נפק שיפורא מבית רבן גמליאל דשכיב אמר לה מנא ידעת אמרה ליה כך מקובלני מבית אבי אבא כל השערים ננעלים חוץ משערי אונאה

Ima Shalom, wife of R. Eliezer, was R. Gamliel’s sister; from then she did not allow R. Eliezer to fall on his face in prayer. One day the New Moon became miscalculated for her between a twenty-nine or thirty day month. Some say: a poor man came and stood at the gate, she brought out bread to him. She found R. Eliezer fallen in prayer and said, “Get up, you have killed my brother.” Meanwhile a ram’s horn blast went out from R. Gamliel’s house [to announce] that he died. [R. Eliezer] asked, “How did you know?” She said, “So I have received a tradition from the house of my father’s father: “All gates are closed but the gates of oppression.”

Why are only the gates of oppression open?